From 440cc6fa2d8e072c33fcd8c5aff0714fa700f2c8 Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Thu, 30 Jul 2026 14:58:42 -0400 Subject: [PATCH] docs(roms): drop two redundant comments Co-Authored-By: Claude Opus 5 (1M context) --- backend/endpoints/roms/__init__.py | 3 --- backend/models/rom.py | 1 - 2 files changed, 4 deletions(-) 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"),