diff options
author | zsloan | 2023-06-14 20:17:03 +0000 |
---|---|---|
committer | zsloan | 2023-06-14 20:25:35 +0000 |
commit | e15c81c7b3ea2ffc3650a637c913bd15b9206a67 (patch) | |
tree | 4c557eba7ba996c0cfbd6e900d7a3bb2cf531ecb /doc/database.org | |
parent | b05dd1c6a17a2889e4f3aeab20a7b24b09c83432 (diff) | |
download | genenetwork2-e15c81c7b3ea2ffc3650a637c913bd15b9206a67.tar.gz |
Fix main search bug causing AND searches to no longer work
The cause of this bug is that, when the autocomplete feature was
implemented, it checks the OR search field (in order to save its
contents) and only submits the form if
it isn't empty. This means that, if the user fills out the AND field and
submits the form, nothing happens.
I changed it to check both the AND and OR fields (and save both of their
contents). While not perfect (since only one field is ever actually
used), I figured it's best to just store everything (and there isn't
really any way to know which search is intended when both fields are
filled).
Diffstat (limited to 'doc/database.org')
0 files changed, 0 insertions, 0 deletions