UUDigitalHumanitieslab / I-analyzer

The great textmining tool that obviates all others
https://ianalyzer.hum.uu.nl
MIT License
6 stars 2 forks source link

Comparison of 3+ query terms not loaded properly from URL #1563

Open lukavdplas opened 2 months ago

lukavdplas commented 2 months ago

What went wrong?

I made a "number of results" visualistion that compared three query terms and tried to load it from its URL. This did not work: initially, the visualisation shows only one series of results.

When clicking "compare with another query...", the visualistion reloads and does show results for all three queries. It looks like the visualisation can't load the queries from the URL, but the input menu can? (And then pushes the correct value.)

What did you expect to happen?

The results shown after "compare with another query..." show the proper result, which includes all three queries. This should be what you see when you open the page.

As a minor point: if the state includes compared queries, the query comparison menu should be opened on initialisation.

Screenshot

Pasted image 20240504120348

Where did you find the bug?

Version

5.6.1

Steps to reproduce

Go to https://ianalyzer.hum.uu.nl/search/dbnl?query=woord&visualize=resultscount&visualizedField=periodical&compareTerm=woord&compareTerm=zin&compareTerm=paragraaf