Error when clearing query comparison #1564
Labels
bug
something isn't working right
frontend
changes to the angular frontend
visualisation
changes to visualisation features
What went wrong?
In the "number of results" visualisation, if you searched without a search term, use the "compare with another query" option to add additional queries, and then clear them, the visualisation displays an error message.
There are some additional problems with this error message:
Alternatively, you could try clearing the additional queries by using the "reset" button. This one does not show an error, but it also doesn't reset the visualisation: you'll still see the old data.
What did you expect to happen?
Obviously you should be able to mess around in the menu without encountering error messages. If they do occur, error messages should show a clear message, etc.
In the UI, it should be possible to clear / reset the query comparison menu if you searched without a query.
Solution 1:
Solution 2:
Solution 3:
[]
should be corrected to[""]
(i.e. one item with the empty query) .Screenshot
Where did you find the bug?
Version
5.6.1
Steps to reproduce
This will display an error message.
Also problematic:
No error message, but the visualisation data isn't updated.
The text was updated successfully, but these errors were encountered: