Bugzilla – Attachment 45168 Details for
Bug 14636
Sorting and searching by publication year in item search doesn't work correctly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14636: Item search - biblioitems column is publicationyear not publicationdate
Bug-14636-Item-search---biblioitems-column-is-publ.patch (text/plain), 2.37 KB, created by
Katrin Fischer
on 2015-11-25 17:02:23 UTC
(
hide
)
Description:
Bug 14636: Item search - biblioitems column is publicationyear not publicationdate
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-11-25 17:02:23 UTC
Size:
2.37 KB
patch
obsolete
>From 5b4349239d16d380489e03ebb520e3092931cef6 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >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 <Katrin.Fischer.83@web.de> >Thx for the follow-up! >--- > catalogue/itemsearch.pl | 2 +- > koha-tmpl/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 3cf364c..af58db8 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 9c65053..bc1ffb9 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' %]<span>Title</span> > [% CASE 'author' %]<span>Author</span> > [% CASE 'publishercode' %]<span>Publisher</span> >- [% CASE 'publicationdate' %]<span>Publication date</span> >+ [% CASE 'publicationyear' %]<span>Publication date</span> > [% CASE 'collectiontitle' %]<span>Collection</span> > [% CASE 'isbn' %]<span>ISBN</span> > [% CASE 'issn' %]<span>ISSN</span> >@@ -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' %] >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14636
:
45070
|
45071
|
45120
|
45121
|
45153
|
45161
|
45168
|
45169
|
45304
|
45305
|
45306
|
45307
|
45315
|
45316
|
45317
|
45318
|
45319