mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
The alpha strip's offsets only mean anything when the rows are ordered by the letters being counted. Sorts that fell back to the name column (dates, ratings) and native enum sorts (the database orders those by declaration order) produced name-based offsets into a differently ordered result, so strip jumps landed on the wrong rows. Skip the sidecar for those sorts before touching the cache; the strip renders its letters disabled. This also retires the letter walk's NULL bucket and enum cast, which no such sort can reach any more. Version the char_index and rom_id_index cache keys with the release schema marker, like filter_values already does, so sidecars cached before an ordering-semantics change stop being served after a deploy. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ND1wfNV3vKwu8Mfinn4WkA