feat: expand catalog sorting
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 02:39:42 -04:00
parent 0008af9f2c
commit b036092775
8 changed files with 67 additions and 11 deletions
+2 -8
View File
@@ -8,6 +8,7 @@ import {
listPublicConditions,
} from "@/services/catalog-service.js";
import ListingCard from "@/components/molecules/ListingCard.vue";
import CatalogSortSelect from "@/components/atoms/CatalogSortSelect.vue";
const route = useRoute();
const router = useRouter();
@@ -124,14 +125,7 @@ watch(
>Max price (cents)
<input v-model.number="maxPriceMinor" type="number" min="0"
/></label>
<label
>Sort
<select v-model="sort">
<option value="recent">Recently added</option>
<option value="price_low">Price: low to high</option>
<option value="price_high">Price: high to low</option>
</select></label
>
<CatalogSortSelect v-model="sort" />
</div>
</header>