mirror of
https://github.com/vercel/commerce.git
synced 2025-05-14 13:47:49 +00:00
removes unsupported filters
This commit is contained in:
parent
fdf0dbad66
commit
7e11ee3d47
@ -14,8 +14,6 @@ export const defaultSort: SortFilterItem = {
|
|||||||
|
|
||||||
export const sorting: SortFilterItem[] = [
|
export const sorting: SortFilterItem[] = [
|
||||||
defaultSort,
|
defaultSort,
|
||||||
{ title: 'Trending', slug: 'trending-desc', sortKey: 'BEST_SELLING', reverse: false }, // asc
|
|
||||||
{ title: 'Latest arrivals', slug: 'latest-desc', sortKey: 'CREATED_AT', reverse: true },
|
|
||||||
{ title: 'Price: Low to high', slug: 'price-asc', sortKey: 'PRICE', reverse: false }, // asc
|
{ title: 'Price: Low to high', slug: 'price-asc', sortKey: 'PRICE', reverse: false }, // asc
|
||||||
{ title: 'Price: High to low', slug: 'price-desc', sortKey: 'PRICE', reverse: true }
|
{ title: 'Price: High to low', slug: 'price-desc', sortKey: 'PRICE', reverse: true }
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user