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

Option "requires" does not work #4

Open
krabina opened this issue Nov 17, 2022 · 2 comments
Open

Option "requires" does not work #4

krabina opened this issue Nov 17, 2022 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@krabina
Copy link
Contributor

krabina commented Nov 17, 2022

I tried the following:

{{#drilldowninfo:
 filters=Country (property=Country),
 Place (property=Place,requires=Country),
 |display parameters

But still, both filters are shown from the start. It should be that only the country filter is shown and the place filter appears once a country has been selected.

@gesinn-it-gea gesinn-it-gea added the bug Something isn't working label Nov 17, 2022
@gesinn-it-gea
Copy link
Member

requires: any number of previously-listed filters, that the user must select a value for before they can see this filter as described in https://www.mediawiki.org/wiki/Extension:Semantic_Drilldown#Getting_started

@gesinn-it-gea gesinn-it-gea added this to the 4.0.0 milestone Dec 22, 2022
@gesinn-it-gea
Copy link
Member

should be covered by tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants