From b027d319c2c96630f1f2c8bf5e6e46677432bbe2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 3 Feb 2020 12:27:40 +0100 Subject: [PATCH] Bug 18936: Remove 2 new occurrences of Koha::IssuingRules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix conflict with bug 13121 Signed-off-by: Joonas Kylmälä --- opac/opac-shelves.pl | 2 +- opac/opac-tags.pl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl index e9dfa25045..afb0f5e7e6 100755 --- a/opac/opac-shelves.pl +++ b/opac/opac-shelves.pl @@ -281,7 +281,7 @@ if ( $op eq 'view' ) { my $art_req_itypes; if( C4::Context->preference('ArticleRequests') ) { - $art_req_itypes = Koha::IssuingRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () }); + $art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () }); } my @items; diff --git a/opac/opac-tags.pl b/opac/opac-tags.pl index 44a38355c1..39e756a3cd 100755 --- a/opac/opac-tags.pl +++ b/opac/opac-tags.pl @@ -48,6 +48,7 @@ use C4::XSLT; use Data::Dumper; use Koha::Biblios; +use Koha::CirculationRules; my %newtags = (); my @deltags = (); @@ -239,7 +240,7 @@ if ($loggedinuser) { my $art_req_itypes; if( C4::Context->preference('ArticleRequests') ) { - $art_req_itypes = Koha::IssuingRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () }); + $art_req_itypes = Koha::CirculationRules->guess_article_requestable_itemtypes({ $patron ? ( categorycode => $patron->categorycode ) : () }); } # get biblionumbers stored in the cart -- 2.11.0