From 9f91b2c1f18bf3165d6874774819d69541be4d58 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 11 Oct 2016 08:46:14 +0000 Subject: [PATCH] Bug 14610 [QA Followup] - Fix publishercode issue Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- Koha/Biblio.pm | 2 +- .../prog/en/modules/circ/article-requests.tt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index 1760d65d47..b33a8639cb 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -258,7 +258,7 @@ Returns the related Koha::Biblioitem object for this Biblio object =cut -sub _biblioitem { +sub biblioitem { my ($self) = @_; $self->{_biblioitem} ||= Koha::Biblioitems->find( { biblionumber => $self->biblionumber() } ); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt index 1606cb0054..0f1b2259c0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/article-requests.tt @@ -194,9 +194,9 @@ [% ar.biblio.biblioitem.publishercode %] [% IF ar.biblio.biblioitem.publicationyear %] - , [% ar.biblio.biblioitem.publicationyear %] + [% ar.biblio.biblioitem.publicationyear %] [% ELSIF ar.biblio.copyrightdate %] - , [% ar.biblio.copyrightdate %] + [% ar.biblio.copyrightdate %] [% END %] [% IF ar.biblio.biblioitem.pages %] @@ -322,9 +322,9 @@ [% ar.biblio.biblioitem.publishercode %] [% IF ar.biblio.biblioitem.publicationyear %] - , [% ar.biblio.biblioitem.publicationyear %] + [% ar.biblio.biblioitem.publicationyear %] [% ELSIF ar.biblio.copyrightdate %] - , [% ar.biblio.copyrightdate %] + [% ar.biblio.copyrightdate %] [% END %] [% IF ar.biblio.biblioitem.pages %] -- 2.39.5