forked from crowetic/commerce
Change date_modified sort with id
This commit is contained in:
parent
7d7d2deff6
commit
5165f824e1
@ -5,7 +5,7 @@ import getAllProducts, {
|
|||||||
import type { ProductsHandlers } from '../products'
|
import type { ProductsHandlers } from '../products'
|
||||||
|
|
||||||
const SORT: { [key: string]: string | undefined } = {
|
const SORT: { [key: string]: string | undefined } = {
|
||||||
latest: 'date_modified',
|
latest: 'id',
|
||||||
trending: 'total_sold',
|
trending: 'total_sold',
|
||||||
price: 'price',
|
price: 'price',
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user