gkunter / coquery

Coquery is a free corpus query tool for linguists, lexicographers, translators, and anybody who wishes to search and analyse a text corpus.
GNU General Public License v3.0
18 stars 4 forks source link

After new query, old filters are still shown even if column is unavailable #217

Closed gkunter closed 7 years ago

gkunter commented 7 years ago

Test case: Buckeye with any query string and POS as data column. A filter that is set up on POS will still be shown in the filter dialog if a new query is executed for which Word was selected and POS was deselected as a data column. The variable POS will switch to Word when the filter selected.

Solution: After a new query, the filters should be checked, and any filter that refers to a column that is not present in the new results table should be removed. After that, the filter button label needs to be updated.