[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
Mon May 14 16:33:28 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20765

--- Comment #1 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 75306
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75306&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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list