Files
romm/backend/tests/endpoints
Spinnich 0be6e3a70f perf(roms): let a gallery window fetch skip the library count
Opting out of the rom id index made the endpoint fall back to a COUNT
over the whole filtered set, so every scroll batch re-derived a total
the page already had from its bootstrap.

Add a with_total flag that skips that count, and have the v2 gallery's
window fetch pass it alongside the sidecar opt-outs it already sends.
total comes back null there, which the store's existing guard leaves
alone rather than applying over the size it knows.

Fixes #4053

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-01 23:00:38 +00:00
..
2026-03-14 23:56:46 -04:00
2026-08-01 15:10:56 -04:00
2026-06-21 17:42:25 -04:00
2026-07-01 08:58:00 -04:00
2026-03-14 23:56:46 -04:00