diff --git a/components/items/ItemsGrid/utils/useSearchParams.ts b/components/items/ItemsGrid/utils/useSearchParams.ts index c5af6c65ae..06687639ec 100644 --- a/components/items/ItemsGrid/utils/useSearchParams.ts +++ b/components/items/ItemsGrid/utils/useSearchParams.ts @@ -16,7 +16,7 @@ function useSearchKeywords() { function useSearchPriceRange() { const route = useRoute() const priceRange = computed(() => { - const minPrice = route.query.min ?? 0 + const minPrice = route.query.min ?? undefined if (route.query.listed !== 'true') { return {} @@ -24,7 +24,7 @@ function useSearchPriceRange() { const defaultParams = { price_gt: '0', - price_gte: Number(minPrice), + price_gte: minPrice && Number(minPrice), } if (route.query.max) {