Bug 18743: Correct number of pending suggestions (acq home page)

This patch could be moved to its own bug report if we want to adjust
tests.

Sponsored-by: BULAC - http://www.bulac.fr/
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Jonathan Druart 2019-10-20 10:16:51 +02:00 committed by Martin Renvoize
parent 9f16ab9e75
commit 4274a2f51d
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ sub CountSuggestion {
FROM suggestions
LEFT JOIN borrowers ON borrowers.borrowernumber=suggestions.suggestedby
WHERE STATUS=?
AND (borrowers.branchcode='' OR borrowers.branchcode=?)
AND (suggestions.branchcode='' OR suggestions.branchcode=?)
};
$sth = $dbh->prepare($query);
$sth->execute( $status, $userenv->{branch} );