diff --git a/web-ui/src/components/missing-precedents/missing-precedents-table.tsx b/web-ui/src/components/missing-precedents/missing-precedents-table.tsx index a04d4dc..594608d 100644 --- a/web-ui/src/components/missing-precedents/missing-precedents-table.tsx +++ b/web-ui/src/components/missing-precedents/missing-precedents-table.tsx @@ -141,7 +141,11 @@ export function MissingPrecedentsTable({ status, q, legalTopic }: Props) { status: status === "" ? undefined : status, q, legalTopic, - limit: 200, + // Load the full set so the accordion section counts (chair/digest/other) + // reflect the real totals — at limit:200 the page showed only the first + // page (e.g. 16 of 106 committee rows) while the header showed the true + // count, so the sections didn't sum to it. Backend caps at 2000. + limit: 1000, }); const del = useDeleteMissingPrecedent(); diff --git a/web/app.py b/web/app.py index e1ffbb5..07c6974 100644 --- a/web/app.py +++ b/web/app.py @@ -7877,7 +7877,7 @@ async def missing_precedents_list( case_id=case_uuid, legal_topic=legal_topic.strip() or None, q=q.strip() or None, - limit=max(1, min(int(limit), 500)), + limit=max(1, min(int(limit), 2000)), offset=max(0, int(offset)), ) # Counters useful for the sidebar badge.