Bug 40016

Summary: Search within results is broken for publication date
Product: Koha Reporter: Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Baptiste Wojtkowski (bwoj) 2025-05-28 13:21:34 UTC
Steps to reproduce (ktd, zebra), pb can be reproduced with es.

1 - Make sure the syspref IntranetCatalogSearchPulldown is active.
2 - Type jean in advanced search -> you get three results (url: http://koha-ktd:8081/cgi-bin/koha/catalogue/search.pl?advsearch=1&op=AND&idx=kw&q=jean&sort_by=relevance)
3 - In Search within results, select publication date in the dropdown, and type 1990-2000 -> broken (url: http://koha-ktd:8081/cgi-bin/koha/catalogue/search.pl?idx=kw&q=jean&&&limit=1990-2000)
4 - Type jean in advanced search, click on more options, fill "1990-2000" in 'limit' -> it works ! (url: http://koha-ktd:8081/cgi-bin/koha/catalogue/search.pl?advsearch=1&op=AND&idx=kw&q=jean&limit-yr=1990-2000&sort_by=relevance)