Bugzilla – Attachment 27100 Details for
Bug 10825
detail.tt displays duplicated enumchron values for serial items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10825 - detail.tt displays duplicated enumchron values for serial items
Bug-10825---detailtt-displays-duplicated-enumchron.patch (text/plain), 2.49 KB, created by
Mark Tompsett
on 2014-04-14 16:27:45 UTC
(
hide
)
Description:
Bug 10825 - detail.tt displays duplicated enumchron values for serial items
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-04-14 16:27:45 UTC
Size:
2.49 KB
patch
obsolete
>From 9b5aa1d83dbc4432bcd2c383ceafd6d950660264 Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Mon, 16 Sep 2013 15:12:16 +1200 >Subject: [PATCH] Bug 10825 - detail.tt displays duplicated enumchron values > for serial items > >TEST PLAN >--------- >1) Find a data point that displays like the picture on this > bug report. > -- in MySQL: > SELECT items.biblionumber,items.enumchron,serial.serialseq > FROM items,serial,serialitems > WHERE items.itemnumber=serilaitems.itemnumber > AND serialitems.serialid=serial.serialid; >2) Apply the patch >3) Refresh the screen >4) Does it look like the second picture now with the duplication > removed? >5) Run koha qa test tools > >I did attempt with default and blank for the XSLT system >preferences for the staff client. > >This accounts for Nicole's comment #12. > >Signed-off-by: Mason James <mtj@kohaaloha.com> >--- > .../prog/en/modules/catalogue/detail.tt | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 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 1e1fcd2..d09a3c4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -658,11 +658,17 @@ function verify_images() { > [% IF ( volinfo ) %] > <td class="enumchron"> > [% IF ( itemdata_enumchron ) %] >- [% IF ( item.enumchron ) %] >+ [% IF item.enumchron && item.serialseq %] > [% item.enumchron %] >- [% IF ( item.serialseq ) %] -- [% END %] >+ [% IF ( item.serialseq && >+ item.enumchron!=item.serialseq ) %] >+ -- [% item.serialseq %] >+ [% END %] >+ [% ELSIF item.enumchron %] >+ [% item.enumchron %] >+ [% ELSIF item.serialseq %] >+ [% item.serialseq %] > [% END %] >- [% item.serialseq %] > [% IF ( item.publisheddate ) %] ([% item.publisheddate %])[% END %] > [% END %] > </td> >-- >1.7.9.5
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 10825
:
20792
|
20793
|
20794
|
21110
|
21120
|
26224
|
26225
|
27090
|
27100
|
27101
|
27119