Skip to content

[Bug] Clicking on "Franchise", "Collection", or other detail links doesn't filter results. It shows full game library instead #2109

@wonx

Description

@wonx

RomM version
4.0.0

Describe the bug
When viewing a game's detail page in Romm, the fields like Franchise and Collection are displayed as clickable links (e.g., “God of War”). Clicking on them takes you to a search URL intended to filter the library based on that attribute, like:

http://[romm-server]:5916/search?filter=franchises&value=God+of+War

http://[romm-server]:5916/search?filter=collections&value=God+of+War

However, instead of filtering to show only matching games, the resulting page displays the entire game library, seemingly sorted alphabetically, without applying the intended filter.

This issue affects:

  • Franchise links
  • Collection links
  • (Possibly) other filters such as developer, publisher, genre, etc.

To Reproduce
Steps to reproduce the behavior:

  1. Open any game in Romm with a non-empty Franchise or Collection value
  2. Click the Franchise or Collection link
  3. Observe that the resulting page shows all games, not a filtered subset

Expected behavior
Clicking on a franchise or collection link should filter the view to show only games that match that value (e.g., only "God of War" games when clicking that franchise).

Screenshots

Image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Firefox
  • Version: 140.0.4

Additional context
This behavior affects all such links I've tested. It seems that although the URL includes the right filter and value parameters, they are not being applied correctly by the search handler on page load.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions