From 632fa0bf2746a7d19dfb2ef8ebf67a60cf897995 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 4 Jan 2011 10:40:20 -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. --- C4/XISBN.pm | 2 -- .../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 4f3f488..13abf25 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 81fbfc8..83f4174 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: - --> -- 1.7.3