mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
The char index and rom id index sidecars are cached under a key that encodes only user/order/grouping. is_unscoped previously excluded only scope and search, so metadata/tag/status filters and the bool flags applied to the query bypassed the gate: a filtered all-games request stored a narrowed id list under the shared "all" key and later unfiltered (or differently-filtered) requests read it back, showing the wrong set and count of games. Treat any narrowing parameter as scoped so those sets compute live. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>