diff --git a/backend/endpoints/roms/__init__.py b/backend/endpoints/roms/__init__.py index 438e6f30d..cb27e03c3 100644 --- a/backend/endpoints/roms/__init__.py +++ b/backend/endpoints/roms/__init__.py @@ -747,9 +747,6 @@ def get_roms( smart_collection_id=smart_collection_id, search_term=search_term, ) - # Keyed on the scope alone: the row-level filters are absent from - # `filter_query`, so a filtered request answers with (and warms) the - # same whole-library entry an unfiltered one does. cache_key = build_unscoped_sidecar_cache_key( request.user.id, order_by, order_dir, group_by_meta_id, is_unscoped_scope ) diff --git a/backend/models/rom.py b/backend/models/rom.py index 8ff6fce87..99978a803 100644 --- a/backend/models/rom.py +++ b/backend/models/rom.py @@ -321,7 +321,6 @@ class Rom(BaseModel): "id", ), Index("idx_roms_platform_fs_size", "platform_id", "fs_size_bytes"), - # Serves the Missing tab: filter on missing_from_fs, ordered by name Index("idx_roms_missing_from_fs", "missing_from_fs", "name_sort_key"), Index("idx_roms_name", "name"), Index("idx_roms_name_sort_key", "name_sort_key"),