diff --git a/src/datasources/product-api.ts b/src/datasources/product-api.ts index fa2cc74..072a0c6 100644 --- a/src/datasources/product-api.ts +++ b/src/datasources/product-api.ts @@ -160,11 +160,12 @@ export class ProductAPI extends BaseSQLDataSource { row.type = this.getProductTypes(row); row.wallpaperTypes = this.getWallpaperTypes(row); row.designerId = row.designerid; - row.orientation = getOrientationString(row.fields); row.publishingDate = row.publishing_date; row.printProducts = this.getPrintProducts(row); row.blacklisting = this.getBlacklisting(row); + row.fields = this.getProductFields(row); + row.orientation = getOrientationString(row.fields); return row; }