MathematicalMedicine / diver-issues

Semipublic tracking of issues for the DIVER front end
0 stars 0 forks source link

A variable keyword search for "bipolar" appears to clears the entire viewport #235

Closed Viqsi closed 6 months ago

Viqsi commented 6 months ago

See title. Stumbled upon by Jonathan at NIH. He was under the impression that "bipolar" was an "erroneous" or "unacceptable" keyword, and it's definitely not - the backend even returned results! And it's not a generic issue - searching for, say, "anxiety" from the same system gets results as expected. So this is entirely in diverweb, and I'm not sure what's gotten into its head there.

Viqsi commented 6 months ago

This turned out to be an issue with generating top_answers such that it wasn't producing valid JSON. Fixed by @WValenti.