Bug 10825: don't display enum/chron twice for items received via the serials module
authorMason James <mtj@kohaaloha.com>
Mon, 16 Sep 2013 03:12:16 +0000 (15:12 +1200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 6 Aug 2014 09:34:36 +0000 (11:34 +0200)
commit8ade958e84035b7132f2f9eb1837f137cc7937c6
treedc06c183f51c1e758e82b1127aef5abf93f34fc9
parentb2651d7b5394f36a27f4301a5d0a4978473e487f
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>
(cherry picked from commit 3f5636cac39ca1109a73b40be08d9dbef096a17c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt