Bug 27944: (QA follow-up) Make staff home page show new article requests

As exposed on comment 29, the current code is showing the 'pending'
requests when it should display 'requested' ones (i.e. the new ones).

This patch changes that accordingly.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Tomas Cohen Arazi 2021-08-10 13:39:46 -03:00 committed by Jonathan Druart
parent da29499e0f
commit ea64bbdda0
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ my $pending_borrower_modifications = Koha::Patron::Modifications->pending_count(
my $pending_discharge_requests = Koha::Patron::Discharge::count({ pending => 1 });
my $pending_article_requests = Koha::ArticleRequests->search_limited(
{
status => Koha::ArticleRequest::Status::Pending,
status => Koha::ArticleRequest::Status::Requested,
$branch ? ( 'me.branchcode' => $branch ) : (),
}
)->count;