mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
Smart collections silently ignored several filters at both ends: - The backend never applied has_soundtrack, has_saves, has_states, or player_counts from stored criteria, so a "has soundtrack" smart collection contained every game. get_roms_scalar also dropped has_soundtrack before it reached filter_roms. - The v2 criteria serializer had no fields for has_saves/has_states and only stored tri-state filters when true, so "unmatched" or "has saves" produced empty criteria and the no-filters guard blocked the save. Criteria now carry saves/states filters and explicit false states, the backend applies them, and summaries render negative states with the existing "show-not-*" labels. Fixes #3888 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>