LP875819: Fix SRU and Z39.50 default search index failures user/dbs/LP875819-fix-SRU-qualifier_2_1
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:12:23 +0000 (17:12 -0400)
commit605eef43c2a27532d0b33076101dafa2b5982753
tree7d934a4bba43e52d1b35baeecdfb98325742485c
parentfdc67bbc2de0a8261fd14c8b8b03cd61703dd47f
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