Skip to content

Unable to remove filter on Games example #202

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

Open
wood-chris opened this issue Oct 20, 2017 · 6 comments
Open

Unable to remove filter on Games example #202

wood-chris opened this issue Oct 20, 2017 · 6 comments

Comments

@wood-chris
Copy link

The games example of elda states And you can apply more than one filter, perhaps asking for seven-player games from before 2005.

I've successfully managed to do this (although the example dataset in the current version doesn't seem to have any seven-player games), so if we pick six-player games from 2009, then we get 1 result ("A Brief History of the World"). However, the view menu only lists one of the filters (Remove current filter: players 6):

image

If you remove the player number filter, there's no link to remove the publication year filter:

image

(the URI verifies that the filter is still being applied).

@ehedgehog
Copy link
Contributor

ehedgehog commented Oct 20, 2017 via email

@wood-chris
Copy link
Author

Hi Chris,

Yes, I'm using 1.4.3:

 Directory of N:\elda

20/10/2017  11:06        30,156,219 elda-standalone-1.4.3-exec-war.jar
               1 File(s)     30,156,219 bytes
               0 Dir(s)  309,095,419,904 bytes free

@ehedgehog
Copy link
Contributor

Hmm. The min- and max- properties don' t seem to be added to the view.

@ehedgehog
Copy link
Contributor

Page.filterRemovalLinks uses ShortnameRender.isKnownShortnamePath(String) to test
a parameter name to see if it is a dottle list of shortnames. Names like min-shortname are
not recognised (because min-shortname isn't a shortname).

Allowing isShortnamePath to accept leading min- and max- would fix this. Not intending to address this at this time,

@ijdickinson
Copy link
Contributor

@ehedgehog If you just close the issue, there is no retained record of this being something that needs addressing. But the tone of of your comment is that we should address the problem that @wood-chris identified at some point, just not now. If we leave this issue closed, it should be added to a list somewhere of problems to address at some future date. But it might just be easier to leave it open?

@ehedgehog
Copy link
Contributor

ehedgehog commented Oct 31, 2017 via email

@ehedgehog ehedgehog reopened this Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy