diff --git a/app/[locale]/search/page.tsx b/app/[locale]/search/page.tsx
index d082176..3e40d67 100644
--- a/app/[locale]/search/page.tsx
+++ b/app/[locale]/search/page.tsx
@@ -12,6 +12,7 @@ function FilterMenu(props: { attribute: string }) {
<>
{
+ // TODO if count == 0, hide altogether
// eslint-disable-next-line @typescript-eslint/no-explicit-any
t(props.attribute.replaceAll(".", "_") as any)
}
@@ -29,7 +30,7 @@ function FilterMenu(props: { attribute: string }) {
}}
showMore={true}
showMoreLimit={100}
- sortBy={["count", "name"]}
+ sortBy={["isRefined", "count", "name"]}
// TODO pass translations
// translations={{
// showMoreButtonText({ isShowingMore }) {
@@ -53,13 +54,16 @@ export default function SearchPage() {
translator: "contains.translators.name" as const,
}}
>
-
+
+
{
- // TODO pass transform
+ // FIXME when changing the query removes a refinement from the list, that refinement
+ // should become inactive!? otherwise it's not clear that it's still toggled...
+ // TODO pass transform
+ //
}
-