removes unsupported filters

This commit is contained in:
Michele Riva 2023-10-16 21:05:42 +02:00
parent fdf0dbad66
commit 7e11ee3d47

View File

@ -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 }
]; ];