LP875819: Fix SRU and Z39.50 default search index failures collab/senator/LP875819-fix-SRU-qualifier
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:08:18 +0000 (17:08 -0400)
commit2d83d4d432ff76521a06fa000439ee65592fb4b4
treef684b8d423807d996bb0ded66d5fdabd5459a1f1
parentfe4efe2ef44dca5321840f75367313444468ccf6
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