Bugzilla – Attachment 80515 Details for
Bug 20896
Move serial enumeration to the right of callnumber on staff detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20896: Move serial enumeration after callnumber on intranet detail page
Bug-20896-Move-serial-enumeration-after-callnumber.patch (text/plain), 5.87 KB, created by
Martin Renvoize (ashimema)
on 2018-10-12 15:00:00 UTC
(
hide
)
Description:
Bug 20896: Move serial enumeration after callnumber on intranet detail page
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2018-10-12 15:00:00 UTC
Size:
5.87 KB
patch
obsolete
>From 9f4343dc9bc28234857578370e998d9a98cbbfab Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Wed, 8 Aug 2018 19:52:26 +0000 >Subject: [PATCH] Bug 20896: Move serial enumeration after callnumber on > intranet detail page > >The column with serial enumeration/chronology information is moved >from the back to the right of itemcallnumber on the intranet detail >page. > >To test: >- Apply patch >- Look at different detail pages in staff: > - 1 or more items have serial enumeration information > - no item has serial enumeration informatoin >- Verify > - itemcallnumber is now followed by serial information, if > an item with the field filled in exists for the record > - all other functionality, like sorting, works as expected > >https://bugs.koha-community.org/show_bug.cgi?id=20896 > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../prog/en/modules/catalogue/detail.tt | 42 +++++++++---------- > 1 file changed, 21 insertions(+), 21 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 4dddbe45a3..9e07adb2f5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -353,11 +353,11 @@ > <th>Home library</th> > [% IF ( itemdata_ccode ) %]<th>Collection</th>[% END %] > <th>Call number</th> >+ [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %] > <th>Status</th> > <th class="title-string">Last seen</th> > <th class="title-string">Date accessioned</th> > <th>Barcode</th> >- [% IF ( volinfo ) %]<th>Serial enumeration / chronology</th>[% END %] > [% IF ( itemdata_uri ) %]<th>URL</th>[% END %] > [% IF ( itemdata_copynumber ) %]<th>Copy number</th>[% END %] > [% IF ( itemdata_stocknumber ) %]<th>Inventory number</th>[% END %] >@@ -391,6 +391,26 @@ > <td class="homebranch">[% Branches.GetName(item.homebranch) | html %]<span class="shelvingloc">[% item.location | html %]</span> </td> > [% 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"> >+ [% IF ( itemdata_enumchron ) %] >+ [% IF item.enumchron && item.serialseq %] >+ <span class="enum">[% item.enumchron | html %]</span> >+ [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %] >+ <span class="sep"> -- </span> >+ <span class="serialseq">[% item.serialseq | html %]</span> >+ [% END %] >+ [% ELSIF item.enumchron %] >+ <span class="enum">[% item.enumchron | html %]</span> >+ [% ELSIF item.serialseq %] >+ <span class="serialseq">[% item.serialseq | html %]</span> >+ [% END %] >+ [% IF ( item.publisheddate ) %] >+ <span class="pubdate">([% item.publisheddate | $KohaDates %])</span> >+ [% END %] >+ [% END %] >+ </td> >+ [% END %] > <td class="status"> > > [% IF item.CheckedOutFor %] >@@ -479,26 +499,6 @@ > <td class="datelastseen"><span title="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates %]</span></td> > <td class="dateaccessioned"><span title="[% item.dateaccessioned | html %]">[% item.dateaccessioned | $KohaDates %]</span></td> > <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?type=[% item.type | html %]&itemnumber=[% item.itemnumber | html %]&biblionumber=[% item.biblionumber | html %]&bi=[% item.biblioitemnumber | html %]#item[% item.itemnumber | html %]">[% item.barcode | html %]</a></td> >- [% IF ( volinfo ) %] >- <td class="enumchron"> >- [% IF ( itemdata_enumchron ) %] >- [% IF item.enumchron && item.serialseq %] >- <span class="enum">[% item.enumchron | html %]</span> >- [% IF ( item.serialseq && item.enumchron!=item.serialseq ) %] >- <span class="sep"> -- </span> >- <span class="serialseq">[% item.serialseq | html %]</span> >- [% END %] >- [% ELSIF item.enumchron %] >- <span class="enum">[% item.enumchron | html %]</span> >- [% ELSIF item.serialseq %] >- <span class="serialseq">[% item.serialseq | html %]</span> >- [% END %] >- [% IF ( item.publisheddate ) %] >- <span class="pubdate">([% item.publisheddate | $KohaDates %])</span> >- [% END %] >- [% END %] >- </td> >- [% END %] > [% IF ( itemdata_uri ) %] > <td class="uri"><a href="[% item.uri | html %]">[% item.uri | html %]</a></td> > [% END %] >-- >2.19.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 20896
:
77600
|
79038
|
79534
| 80515