fix(product): Only apply default order to products if user has not specified one (#10535)
This commit is contained in:
@@ -228,8 +228,7 @@ export default class ProductModuleService
|
||||
return {
|
||||
...config,
|
||||
order: {
|
||||
id: "ASC",
|
||||
...config?.order,
|
||||
...(config?.order ?? { id: "ASC" }),
|
||||
...(hasImagesRelation
|
||||
? {
|
||||
images: {
|
||||
|
||||
Reference in New Issue
Block a user