https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27944

--- Comment #16 from Marcel de Rooy <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to