feat(medusa): Ordering products on retrieval (#2815)
**What** Move to transformQuery which adds a default ordering and also allows to order the product list from the store API **How** Among other things, fix the product repo to allow ordering by either a key from the product or a key from a relation FIXES CORE-911 FIXES CORE-901
This commit is contained in:
committed by
GitHub
parent
5ae319004f
commit
463f83ffdd
@@ -10,8 +10,6 @@ const {
|
||||
Image,
|
||||
Cart,
|
||||
PriceList,
|
||||
CustomerGroup,
|
||||
Customer,
|
||||
} = require("@medusajs/medusa")
|
||||
|
||||
module.exports = async (connection, data = {}) => {
|
||||
|
||||
Reference in New Issue
Block a user