From 5c945298900413b7807fe1f1e79694feafba31f1 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 25 Nov 2015 17:06:01 +0100 Subject: [PATCH] Bug 14636: Item search - biblioitems column is publicationyear not publicationdate Signed-off-by: Katrin Fischer Thx for the follow-up! Signed-off-by: Fridolin Somers Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit 2d0d71730163fbd13583532de622574737e34221) Signed-off-by: Julian Maurice --- catalogue/itemsearch.pl | 2 +- .../intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/catalogue/itemsearch.pl b/catalogue/itemsearch.pl index 3cf364c2af..af58db8557 100755 --- a/catalogue/itemsearch.pl +++ b/catalogue/itemsearch.pl @@ -128,7 +128,7 @@ if (scalar keys %params > 0) { my $op = shift @op; if (defined $q and $q ne '') { if ($i == 0) { - if (C4::Context->preference("marcflavor") ne "UNIMARC" && $field eq 'publicationdate') { + if (C4::Context->preference("marcflavor") ne "UNIMARC" && $field eq 'publicationyear') { $field = 'copyrightdate'; } $f = { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt index 9c65053c3a..bc1ffb9722 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -9,7 +9,7 @@ [% CASE 'title' %]Title [% CASE 'author' %]Author [% CASE 'publishercode' %]Publisher - [% CASE 'publicationdate' %]Publication date + [% CASE 'publicationyear' %]Publication date [% CASE 'collectiontitle' %]Collection [% CASE 'isbn' %]ISBN [% CASE 'issn' %]ISSN @@ -91,7 +91,7 @@ [% INCLUDE form_field_select_option value='title' %] [% INCLUDE form_field_select_option value='author' %] [% INCLUDE form_field_select_option value='publishercode' %] - [% INCLUDE form_field_select_option value='publicationdate' %] + [% INCLUDE form_field_select_option value='publicationyear' %] [% INCLUDE form_field_select_option value='collectiontitle' %] [% INCLUDE form_field_select_option value='isbn' %] [% INCLUDE form_field_select_option value='issn' %] -- 2.39.5