Koha-clms/catalogue
Jonathan Druart ad87192f72 Bug 23970: Make search with "Publication date" field work at any position
The changes made in the following commit:
  commit 0d2e83bca5
  Bug 14636: Item search - fix search and sort by publication date for MARC21
was put at the wrong place. It was inside a "if $i == 1" test that
impacts the first field only.

Test plan:
0/ Use a MARC21 installation
1/ Search items by publication date, use twice the field using different
values.
For instance:
  publication date: 2005 OR
  publication date: 2006
=> Without this patch you only get results for 2005
=> With this patch applied you get results for both years.

Signed-off-by: Joonas Kylmälä <joonas.kylmala@helsinki.fi>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit c589da3c29)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 837604d935)
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
2020-01-13 12:47:55 +13:00
..
ISBDdetail.pl Bug 19289: Use the ACQ framework to display bibliographic details 2018-04-11 16:45:20 -03:00
MARCdetail.pl Bug 21170: Remove "isn't numeric in numeric eq (==)" warnings in MARCdetail 2019-01-31 16:10:06 +00:00
detail.pl Bug 20948: Simplify existing code 2020-01-10 11:57:55 +13:00
export.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
getitem-ajax.pl Bug 22762: Fix items.collection display on receiving 2019-04-26 16:04:43 +01:00
image.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
imageviewer.pl Bug 19995: use Modern::Perl in Catalogue perl scripts 2018-02-05 09:45:47 -03:00
issuehistory.pl Bug 21291: (follow-up) Pass subscriptionsnumber to all tools in staff detail's sidebar 2018-10-15 13:40:47 +00:00
itemsearch.pl Bug 23970: Make search with "Publication date" field work at any position 2020-01-13 12:47:55 +13:00
labeledMARCdetail.pl Bug 22034: Handle default framework for MARC view with framework 2019-01-07 15:17:28 +00:00
moredetail.pl Bug 22116: Add price formatting to rental charge and replacement price on items tab in staff 2019-02-12 13:19:49 +00:00
search-history.pl Bug 16593: Do not allow patrons to delete search history of others patrons 2016-06-24 11:47:29 +00:00
search.pl Bug 12441: Search.pl conditional checks and displays using same syspref 2019-04-15 11:52:52 +01:00
showmarc.pl Bug 20083: Information disclosure when (mis)using the MARC Preview feature 2018-04-04 15:40:07 -03:00
stockrotation.pl Bug 21291: (follow-up) Pass subscriptionsnumber to all tools in staff detail's sidebar 2018-10-15 13:40:47 +00:00
updateitem.pl Bug 19974: Make MarkLostItemsAsReturned multiple 2018-04-20 11:57:31 -03:00