Bugzilla – Attachment 119896 Details for
Bug 28171
Serial enumeration / chronology sorting is broken in biblio page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28171: Serial enumeration / chronology sorting is broken in biblio page
Bug-28171-Serial-enumeration--chronology-sorting-i.patch (text/plain), 2.43 KB, created by
Peter Vashchuk
on 2021-04-20 09:23:29 UTC
(
hide
)
Description:
Bug 28171: Serial enumeration / chronology sorting is broken in biblio page
Filename:
MIME Type:
Creator:
Peter Vashchuk
Created:
2021-04-20 09:23:29 UTC
Size:
2.43 KB
patch
obsolete
>From 97b486aaf1cc92b5e33355336282edd7efd741e7 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 19 Apr 2021 18:29:31 +0000 >Subject: [PATCH] Bug 28171: Serial enumeration / chronology sorting is broken > in biblio page > >This patch updates the bibliographic detail page so that the "Serial >enumeration/chronology" column is sorted by published date only if a >published date is present. > >To test, apply the patch and locate a bibliograhpic record for a >subscription that has multiple items. > >On the bibliographic detail page, confirm that the "Serial >enumeration/chronology" column sorts correctly. > >Signed-off-by: Petro Vashchuk <stalkernoid@gmail.com> >--- > .../intranet-tmpl/prog/en/modules/catalogue/detail.tt | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 90000082c5..c3f6f50f97 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -390,7 +390,11 @@ Note that permanent location is a code, and location may be an authval. > [% IF ( itemdata_ccode ) %]<td>[% item.ccode | html %]</td>[% END %] > <td class="itemcallnumber">[% IF ( item.itemcallnumber ) %] [% item.itemcallnumber | html %][% END %]</td> > [% IF ( volinfo ) %] >- <td class="enumchron" data-order="[% item.publisheddate | html %]"> >+ [% IF ( item.publisheddate ) %] >+ <td class="enumchron" data-order="[% item.publisheddate | html %]"> >+ [% ELSE %] >+ <td class="enumchron"> >+ [% END %] > [% IF ( itemdata_enumchron ) %] > [% IF item.enumchron && item.serialseq %] > <span class="enum">[% item.enumchron | html %]</span> >@@ -407,7 +411,6 @@ Note that permanent location is a code, and location may be an authval. > <span class="pubdate">([% item.publisheddate | $KohaDates %])</span> > [% END %] > [% END %] >- </span> > </td> > [% END %] > <td class="status"> >-- >2.28.0
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 28171
:
119869
|
119896
|
119960
|
119961
|
121210
|
121211
|
121212
|
121213
|
121214
|
121215
|
121483
|
121484
|
121593