add: orderby in product
This commit is contained in:
@@ -181,7 +181,8 @@ export class ProductService {
|
||||
.addSelect('current_price.price')
|
||||
.addSelect(
|
||||
'(current_price.price + current_price.mark_up_price) as mark_up_price',
|
||||
);
|
||||
)
|
||||
.orderBy('product.code');
|
||||
|
||||
if (subCategories && filterSubCategories.length > 0) {
|
||||
baseQuery.where('product.sub_categories_id IN (:...subCategoryId)', {
|
||||
|
||||
Reference in New Issue
Block a user