Adding pagination to scopes page

This commit is contained in:
Ian Roddis committed 2026-08-11 11:33:56 -03:00
1 parent 7a15d9f7c0
commit 6d7c5c5604
6 files changed
+160 -51

No files matched your search

+3 -1
View File
@@ -35,7 +35,9 @@ async def build(
The scope rows are narrowed by the scope-attribute filters (``description``
matches the scope's description; the ``*_id`` filters match exactly).
``fits_part_type_id`` keeps only scopes that have at least one (non-``none``)
fit for that part type.
fit for that part type. Callers that paginate should slice ``rows``
themselves — this always returns the full filtered set, since
``fits_part_type_id`` is a post-filter that can't be pushed into the DB query.
Shape::