]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1522538: Improper detection of jtitle search type
authorMike Rylander <mrylander@gmail.com>
Thu, 3 Dec 2015 21:13:09 +0000 (16:13 -0500)
committerKathy Lussier <klussier@masslnc.org>
Wed, 13 Jan 2016 13:49:17 +0000 (08:49 -0500)
commit9096c57ab55c00aaa4cac8ced6e7b8877d5673c2
tree2b87f3ecd4cb4d84e22d1c6a5202b8fb8fb672f2
parent183b612de93610a74306e12089d31c2e2cc1c1d0
LP#1522538: Improper detection of jtitle search type

Before this change, the system would only check the first qtype URL parameter
to see if it needed to apply the journal title "bib_level(s)" filter.  Instead
it should check each qtype in turn while it turns an advanced search into a
simple search string.  Here the code is moved into place to accomplish that.

To test, load all test datasets into a fresh database.  Perform an advanced
search on journal title for "proceedings" (no quotes) using the second search
input row.  Before this commit, two records are retrieved.  After, only one
is retrieved.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm