Bug 33535

Summary: Date range search for Publication Year not working in MARC21
Product: Koha Reporter: Anke Bruns <anke.bruns>
Component: Searching - ZebraAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 - low CC: dcook, mathsabypro
Version: 22.05   
Hardware: Other   
OS: Linux   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Anke Bruns 2023-04-14 10:09:18 UTC
In 22.05, the pubdate index that searches pos. 7-10 in field 008 works well if searched for one year only (e.g. 1999).

However, searching for a date range, as suggested in the pulldown menu where it says "Publication date (yyyy-yyyy), doesn't yield anything at all.

Thus, "1999-2002" or "1999 - 2002" return 0 results, even though there are records with pubdates 1999, 2002 and the years in between, and they can be retrieved by searching for one single year as mentioned above.