Koha/catalogue
Jonathan Druart 20a8cac651
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>
2019-12-10 16:13:39 +00:00
..
detail.pl Bug 20948: Simplify existing code 2019-12-09 14:34:44 +00:00
export.pl
getitem-ajax.pl
image.pl
imageviewer.pl
ISBDdetail.pl Bug 23525: (bug 19289 follow-up) Use biblio's framework not ACQ 2019-10-28 12:22:16 +00:00
issuehistory.pl
itemsearch.pl Bug 23970: Make search with "Publication date" field work at any position 2019-12-10 16:13:39 +00:00
labeledMARCdetail.pl
MARCdetail.pl
moredetail.pl Bug 23049: Update existing code to use debit_type 2019-10-24 17:24:15 +01:00
search-history.pl
search.pl Bug 22592: Add index scan emulation to Elasticsearch 2019-11-03 07:51:04 +00:00
showmarc.pl
stockrotation.pl
updateitem.pl Bug 22927: Do not check an already lost item when marked as withdrawn or damaged 2019-10-09 14:29:53 +01:00