Opened 5 days ago
WEB: "Other" screenshots page is broken
|Reported by:||Thunderforge||Owned by:|
There was a problem processing your request:
Invalid category specified.
The "Invalid category specified" error is thrown on this line. The issue is that the page is looking for screenshots matching a company name of "Other", finds none, and throws an error.
The "Other" category is generated by this query for any company where no more than one game exists.
I also discovered that you can go to a game's screenshot page if the "other" in the URL is the company id. In other words, these two are interchangeable:
It seems that there are two solutions we could pursue:
- Fix the query so that searching for "Other" results in a properly generated page showing screenshots for all companies that have a single game
- Change the screenshot page so that the hyperlinks go to the company-specific pages (e.g.
screenshots/metropolis/teenagent/) so that the Back button goes to the company page (
screenshots/other/). Then the screenshots page has an "Other" category grouping that is purely cosmetic