Bug 10845: (follow-up) update how a test case counts print hold available notices
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
c4abafce33
commit
6b1c114cc6
1 changed files with 4 additions and 1 deletions
|
@ -399,7 +399,10 @@ $dbh->rollback;
|
||||||
|
|
||||||
sub count_hold_print_messages {
|
sub count_hold_print_messages {
|
||||||
my $message_count = $dbh->selectall_arrayref(q{
|
my $message_count = $dbh->selectall_arrayref(q{
|
||||||
SELECT COUNT(*) FROM message_queue WHERE letter_code = 'HOLD_PRINT'
|
SELECT COUNT(*)
|
||||||
|
FROM message_queue
|
||||||
|
WHERE letter_code = 'HOLD'
|
||||||
|
AND message_transport_type = 'print'
|
||||||
});
|
});
|
||||||
return $message_count->[0]->[0];
|
return $message_count->[0]->[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue