[OPEN-ILS-DEV] Opensearch grammar and item_type() with ||

Whalen, Liam Liam.Whalen at NRCan-RNCan.gc.ca
Mon Nov 14 13:45:12 EST 2011


I have the following opensearch url that worked on an Evergreen 2.0.8, PostgreSQL 9.0.4, OpenSRF 2.0.1, and Ubuntu 10.04 system:

http://catalogue.nrcan.gc.ca/opac/extras/opensearch/1.1/NRCan-RNCan/rss2-full?searchTerms=item_type%28a%20||%20t%29&searchSort=create_date&searchSortDir=desc

This no longer works on an Evergreen 2.1.0a, PostgreSQL 9.0.4, OpenSRF 2.0.1, and Ubuntu 10.04 system.  However, if I removed the '|| t' in the item_type() qualifier, the search now works:

http://catalogue.nrcan.gc.ca/opac/extras/opensearch/1.1/NRCan-RNCan/rss2-full?searchTerms=item_type%28a%29&searchSort=create_date&searchSortDir=desc

It seems using || within an opensearch string may not be working as it is supposed to.

Liam

Natural Resources Canada Library / Bibliothèque de Ressources naturelles Canada
615 rue Booth Street, 121, Ottawa, ON
Canada K1A 0E9
Telephone / Téléphone : 613-995-4180
lwhalen at nrcan-rncan.gc.ca
Web: http://www.nrcan.gc.ca/library/


More information about the Open-ils-dev mailing list