Bug 10825: don't display enum/chron twice for items received via the serials module
TEST PLAN --------- 1) In the staff interface, display a bib that has one or more items that were received in the serials module. The following query can identify them: -- in MySQL: SELECT items.biblionumber,items.enumchron,serial.serialseq FROM items,serial,serialitems WHERE items.itemnumber=serialitems.itemnumber AND serialitems.serialid=serial.serialid; 2) Note that in the holdings tab, the serial enumeration/chronology is displayed twice. 3) Apply the patch 4) Refresh the screen 4) Now, the enum/chron should be displayed only once per item. Signed-off-by: Mason James <mtj@kohaaloha.com> Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Works as described, passes tests and QA script. Template change only. Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
cc7a99ba7f
commit
3f5636cac3
1 changed files with 9 additions and 3 deletions
|
@ -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 %]
|
||||
[% IF ( item.publisheddate ) %] ([% item.publisheddate %])[% END %]
|
||||
[% END %]
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue