]> git.koha-community.org Git - koha.git/commit
Bug 9552 - BIB1 Relation "Greater Than" Attribute Not Mapped Properly in CCL.Properties
authorDavid Cook <dcook@prosentient.com.au>
Wed, 6 Feb 2013 02:49:28 +0000 (13:49 +1100)
committerChris Cormack <chris@bigballofwax.co.nz>
Fri, 8 Feb 2013 23:41:58 +0000 (12:41 +1300)
commit01f952c6241f0d8e1f6fbab0ce9df7ac5a202526
tree17e5989b4f19bea6e17e5d9e04622a589b68527c
parentbbd98ce822363134b0b4824176020f24b9193850
Bug 9552 - BIB1 Relation "Greater Than" Attribute Not Mapped Properly in CCL.Properties

Currently, you can use "lt,le,eq,ge" in your CCL query to handle
"lesser than, lesser or equal to, equal to, greater than or equal
to" relationships.

The only one missing is "gt" (Bib1 2=5).

The mappings are also off "ne, phonetic, stem", but those are Bib1
attributes that Zebra doesn't support, so that's not really relevant.

To test:

[1] Before applying the patch, try the following query in the OPAC:

pubdate,gt:2006

You should get "no results found".

[2] After applying the patch (and note that ccl.properties will usually
need to be installed in the run-time Zebra configuration directory), try
the same search.  This time, you could get back the titles whose
publication date is after 2006.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
etc/zebradb/ccl.properties