Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't filter search results by platform #253

Closed
tannisroot opened this issue Dec 8, 2018 · 2 comments · Fixed by #420
Closed

Can't filter search results by platform #253

tannisroot opened this issue Dec 8, 2018 · 2 comments · Fixed by #420
Labels

Comments

@tannisroot
Copy link
Contributor

How to reproduce:

  1. Open Games section: https://lutris.net/games/
  2. Select a platform (for example, Windows): https://lutris.net/games/platform/windows
  3. Type in the name of game into Search box
  4. Get 404 error: https://lutris.net/games/platform/?q=The+Sims
@Medath
Copy link

Medath commented Dec 8, 2018

It seems like the chosen platform gets lost in the last link.
If you write https://lutris.net/games/platform/windows/?q=The+Sims instead of https://lutris.net/games/platform/?q=The+Sims the search works correctly

@strycore strycore added this to To do in Install scripts improvements via automation Feb 5, 2019
@filbo
Copy link

filbo commented Jul 9, 2019

Came here to report this...

It 'works' (breaks) both ways, the other way being:

  1. Go to https://lutris.net/games
  2. Type 'The Sims' into the search box => https://lutris.net/games/?q=the+sims
  3. Click on 'Windows' in the palette of Platforms => https://lutris.net/games/platform/windows
    -- expected to reach https://lutris.net/games/platform/windows?q=the+sims

Other combinations also break; e.g. choose Windows, then '[x] Show unpublished games' => broken URL; start with '[x] Show unpublished games', choose Windows => https://lutris.net/games/platform/windows (without unpublished games).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants