mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
The virtual_collections view read only roms.igdb_metadata, so franchises, genres, companies and play modes set manually or provided by non-IGDB sources (ScreenScraper, Flashpoint, gamelist) never produced auto-generated collections, even though the same values already drove /api/roms filtering and the game detail page. Redefine the view to source each grouping from the roms_metadata view, which coalesces manual and provider metadata in priority order. Matching values now merge into a single collection regardless of their source. The 3-ROM minimum threshold is unchanged. Fixes #3187 Generated-By: PostHog Code Task-Id: 10289bf4-b0d0-4856-80c9-1be93c926f37