Change date_modified sort with id

This commit is contained in:
Luis Alvarez 2020-10-16 11:25:13 -05:00
parent 7d7d2deff6
commit 5165f824e1

View File

@ -5,7 +5,7 @@ import getAllProducts, {
import type { ProductsHandlers } from '../products'
const SORT: { [key: string]: string | undefined } = {
latest: 'date_modified',
latest: 'id',
trending: 'total_sold',
price: 'price',
}