LP875819: Fix SRU and Z39.50 default search index failures
authorDan Scott <dscott@laurentian.ca>
Sun, 16 Oct 2011 16:45:52 +0000 (12:45 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 19 Oct 2011 21:17:19 +0000 (17:17 -0400)
commitd499871c02b00ced5268f1057db2d7ff96ad4905
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>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/SuperCat.pm