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.type = this.getProductTypes(row);
|
||||||
row.wallpaperTypes = this.getWallpaperTypes(row);
|
row.wallpaperTypes = this.getWallpaperTypes(row);
|
||||||
row.designerId = row.designerid;
|
row.designerId = row.designerid;
|
||||||
row.orientation = getOrientationString(row.fields);
|
|
||||||
row.publishingDate = row.publishing_date;
|
row.publishingDate = row.publishing_date;
|
||||||
row.printProducts = this.getPrintProducts(row);
|
row.printProducts = this.getPrintProducts(row);
|
||||||
row.blacklisting = this.getBlacklisting(row);
|
row.blacklisting = this.getBlacklisting(row);
|
||||||
|
|
||||||
row.fields = this.getProductFields(row);
|
row.fields = this.getProductFields(row);
|
||||||
|
row.orientation = getOrientationString(row.fields);
|
||||||
return row;
|
return row;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user