LP875819: Fix SRU and Z39.50 default search index failures user/dbs/LP875819-fix-SRU-qualifier
authorDan Scott <dscott@laurentian.ca>
Sun, 16 Oct 2011 16:45:52 +0000 (12:45 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 19 Oct 2011 21:10:03 +0000 (17:10 -0400)
commit4a3ec3fe2973f4b57a33b358d45f65dd27c79dd9
tree2933bca26f2d650b44db01af0e79bad8b5a9c52c
parent47d7b67590ec7a7566982ede9c05d10b9ae18947
LP875819: Fix SRU and Z39.50 default search index failures

Per http://www.loc.gov/standards/sru/specs/cql.html :

All parts of CQL are case insensitive [...] If any case insensitive
part of CQL is specified with both upper and lower case, it is
for aesthetic purposes only.

So fold the SRU qualifier and relation to lower case. This then
matches the srw.serverchoice entry that we already have in
config.metabib_search_alias so that default searches will successfully
point to the keyword index.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm