Files
romm/backend
Spinnich 95d5cbfcdf fix(roms): list smart collections a rom belongs to
The ROM detail response only filled `user_collections` from a rom's
standard collections (the collections_roms join), so smart collections
were silently omitted from the detail overview's Collections row.

Add smart-collection membership to the response: `UserCollectionSchema`
gains an `is_smart` flag and a `smart_for_user` builder that keeps the
smart collections whose cached rom_ids include the rom (respecting own /
public visibility), and `DetailedRomSchema` appends them alongside the
standard ones. The v2 overview renders them with the smart kind badge and
routes them to the smart-collection view.

Fixes #3934

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-24 14:21:35 +00:00
..
2026-06-21 17:42:25 -04:00
2026-02-09 17:26:21 -05:00
2026-07-20 19:04:59 -04:00
2026-07-01 08:58:00 -04:00
2026-07-19 14:46:47 -04:00
2026-07-20 08:39:34 -04:00
2024-02-10 12:43:39 -05:00
2025-07-05 19:17:40 -04:00
2026-05-17 17:39:47 -04:00
2026-07-18 18:17:45 -04:00
2026-05-22 22:35:30 -04:00