Bug 30908

Summary: Date range search in label creator does not work with Elastic (label-item-search.pl)
Product: Koha Reporter: Andrew Fuerste-Henry <andrewfh>
Component: Searching - ElasticsearchAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P5 - low CC: marie-luce.laflamme, nick
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Andrew Fuerste-Henry 2022-06-06 13:27:26 UTC
When using the item search via label batches (label-item-search.pl), a search by date range will not work if one is on Elastic. ES formats its dates in a way that the search cannot use.

To recreate:
- set SearchEngine to Elastic
- go to Label Creator, create a new label batch
- click Add Item(s) without putting an itemnumber or barcode into the box, so the item search window pops up
- use the date pickers to define a range in which you know you created items
- observe you get no search results
Comment 1 Marie-Luce Laflamme 2022-06-07 13:46:38 UTC
We observed this behavior in 21.05 and the master Koha version.

Changing the dateformat system preference has not effects.
Comment 2 Marie-Luce Laflamme 2022-06-07 13:51:47 UTC
there is another bug report about this: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30745
Comment 3 Andrew Fuerste-Henry 2022-06-07 13:56:15 UTC

*** This bug has been marked as a duplicate of bug 30745 ***