LP1779392: Stop sending broken queries user/jboyer/lp1779392_highlight_error
authorJason Boyer <jboyer@library.in.gov>
Fri, 29 Jun 2018 18:09:51 +0000 (14:09 -0400)
committerJason Boyer <jboyer@library.in.gov>
Fri, 29 Jun 2018 18:09:51 +0000 (14:09 -0400)
commitc794d959cb8895e5fa8cb7331839f8c09330dce9
tree883c1aaf38edfa6e7b73e27b49ab6e428783ad61
parentdb2aecd8e095dbe3ee85ec141d7a05b6c4b52b1c
LP1779392: Stop sending broken queries

It's possible to send invalid parameters to the
search.highlight_display_fields function which
wastes a db roundtrip and fills the logs with
errors. Checking to be sure there's anything in
the parameter will prevent both.

Signed-off-by: Jason Boyer <jboyer@library.in.gov>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm