[Koha-bugs] [Bug 9552] BIB1 Relation "Greater Than" Attribute Not Mapped Properly in CCL.Properties
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 6 14:48:24 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9552
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #15086|0 |1
is obsolete| |
--- Comment #4 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 15094
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15094&action=edit
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 at esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list