[Koha-bugs] [Bug 27944] Add new stages to the article request process
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 8 14:21:50 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27944
--- Comment #16 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
diff --git a/Koha/ArticleRequest/Status.pm b/Koha/ArticleRequest/Status.pm
index 42de00d551..830024dccd 100644
--- a/Koha/ArticleRequest/Status.pm
+++ b/Koha/ArticleRequest/Status.pm
@@ -19,6 +19,8 @@ package Koha::ArticleRequest::Status;
use Modern::Perl;
+sub Requested { 'REQUESTED' }
+
sub Pending {
return 'PENDING';
}
diff --git a/Koha/Template/Plugin/Biblio.pm b/Koha/Template/Plugin/Biblio.pm
index e9d7a73009..5ec3542294 100644
--- a/Koha/Template/Plugin/Biblio.pm
+++ b/Koha/Template/Plugin/Biblio.pm
@@ -44,6 +44,7 @@ sub ArticleRequestsActiveCount {
biblionumber => $biblionumber,
status => [
-or => [
+ status => Koha::ArticleRequest::Status::Requested,
status => Koha::ArticleRequest::Status::Pending,
status => Koha::ArticleRequest::Status::Processing
]
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
index e59703482e..c708a2ba86 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt
@@ -12,6 +12,7 @@
</head>
<body id="circ_request-article" class="circ">
+<div testmr="1"/>
[% INCLUDE 'header.inc' %]
[% INCLUDE 'circ-search.inc' %]
=> And this unusable patch is an easy way to show the error.. If I would remove
the Plugin/Biblio from the patch, we clear the warning again.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list