Bug 30908 - Date range search in label creator does not work with Elastic (label-item-search.pl)
Summary: Date range search in label creator does not work with Elastic (label-item-sea...
Status: RESOLVED DUPLICATE of bug 30745
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Elasticsearch (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-06 13:27 UTC by Andrew Fuerste-Henry
Modified: 2022-06-07 13:56 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***