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:
parent
9f16ab9e75
commit
4274a2f51d
|
|
@ -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} );
|
||||
|
|
|
|||
Loading…
Reference in New Issue