Skip to content

Commit f3590f8

Browse files
committed
Increase refinement limit
1 parent 8b3037a commit f3590f8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

components/search/common.tsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function getServerConfig(): TypesenseInstantsearchAdapterOptions["server"
3030
}
3131

3232
function RefinementList({ attribute }: { attribute: string }) {
33-
useRefinementList({ attribute })
33+
useRefinementList({ attribute, limit: 500 })
3434
return null
3535
}
3636

@@ -39,13 +39,13 @@ export function VirtualFilters({ type }: { type: "bill" | "testimony" }) {
3939
type === "testimony"
4040
? ["authorDisplayName", "court", "position", "billId", "authorRole"]
4141
: [
42-
"court",
43-
"currentCommittee",
44-
"city",
45-
"primarySponsor",
46-
"cosponsors",
47-
"topics.lvl1"
48-
]
42+
"court",
43+
"currentCommittee",
44+
"city",
45+
"primarySponsor",
46+
"cosponsors",
47+
"topics.lvl1"
48+
]
4949

5050
return (
5151
<>

0 commit comments

Comments
 (0)