From bbd50b2d1219c904f3a7db3cfa49feca13bd8278 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 4 Jan 2011 12:47:29 -0500 Subject: [PATCH] Fix for Bug 5570 - item types not showing on other editions The item type which shows on other editions is the biblio-level itemtype. XISBN.pm had some item-handling code, but I'm removing it because it is unused. The editions tab should now display item type only if item-level itemtypes are not enabled. Signed-off-by: Nicole Engard Signed-off-by: Chris Cormack --- C4/XISBN.pm | 2 -- koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl | 11 +++-------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/C4/XISBN.pm b/C4/XISBN.pm index 4f3f488984..13abf2543f 100644 --- a/C4/XISBN.pm +++ b/C4/XISBN.pm @@ -20,7 +20,6 @@ package C4::XISBN; use XML::Simple; #use LWP::Simple; use C4::Biblio; -use C4::Items; use C4::Koha; use C4::External::Syndetics qw(get_syndetics_editions); use LWP::UserAgent; @@ -72,7 +71,6 @@ sub _get_biblio_from_xisbn { if ($xbib_data->{biblionumber}) { $xbiblio = GetBiblioData($xbib_data->{biblionumber}); $xbiblio->{normalized_isbn} = GetNormalizedISBN($xbiblio->{isbn}); - $xbiblio->{items} = GetItemsByBiblioitemnumber($xbib_data->{biblionumber}); } return ($xbiblio); } diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl index 4285698e21..25f3a37ece 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -167,10 +167,10 @@ YAHOO.util.Event.onContentReady("furtherm", function () { - Year : + Year: " alt="" title="" /> - Item type : + Item type: @@ -716,17 +716,12 @@ YAHOO.util.Event.onContentReady("furtherm", function () { No cover image available -"> by © +"> by ©

() ,

- - - .gif" title="" alt="" /> - barcode: - --> -- 2.39.5