orientation should now be correct (#158)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user