Skip to content

[Bug] Invalid redirect search URL when clicking on metadata button #2985

@joshuaavalon

Description

@joshuaavalon

RomM version
4.6.1

Describe the bug
The metadata button on the rom page redirect to search but it set wrong query parameters.
The search page is accept parameters in plural but the redirect is singular.

For example, link for regions is redirect to ?region=<REGION> but it should be ?regions=<REGION>

To Reproduce
Steps to reproduce the behavior:

  1. Go to ROM page
  2. Click on one of the genres
  3. It redirects to https://<HOST>/search?genre=<GENRE>
  4. It show empty result

Expected behavior
The URL should be https://<HOST>/search?genres=<GENRE>
(genres instead of genre)

Screenshots
If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

  • OS: Docker
  • Version [e.g. 22]

Client (please complete the following information):

  • Device: PC
  • OS: Windows 11
  • Browser Firefox
  • Version 147.0.2 (64-bit)

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions