[Koha-bugs] [Bug 20765] Search for items by acqdate does not work in label batch
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 29 20:30:15 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20765
Maryse Simard <maryse.simard at inlibro.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #75306|0 |1
is obsolete| |
--- Comment #2 from Maryse Simard <maryse.simard at inlibro.com> ---
Created attachment 76581
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76581&action=edit
Bug 20765: Fix search for items by acqdate in label batch
In Tools > Label creator, when creating a batch you can add items using a
search.
This search has filters on acquisition date.
Actually those filters does not work.
The create a search using CCL syntaxe to query Zebra search engine.
The cause is that operator "ge" or "le" must be before "st-date-normalized" in
CCL query.
Looks like it is because of "st-date-normalized" uses "r=o" in ccl.properties.
Test plan :
1) Check in advance search you have indexed acquisition date
2) Go to Tools > Label creator
3) Click on New > Label batch
4) Click on Add item(s)
5) Enter a relevent date in "Added on or after date" and in "Added on or before
date"
6) Click on "Search"
=> Without patch you get no results
=> With patch you get expected results
Signed-off-by: Maryse Simard <maryse.simard at inlibro.com>
Followed the test plan and it works.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list