Bug 38041: Pass hide_main for all needsconfirm warnings in SCO
To test: 1. APPLY PATCH and restart_all 2. Make sure the following errors when issuing in SCO show just the error, no other info. on screen: DEBT RENEW_ISSUE ISSUED_TO_ANOTHER RESERVED TRANSFERRED INVALID_DATE ( cant test in SCO ) TOO_MANY RECALLED Signed-off-by: CJ Lynce <cj.lynce@westlakelibrary.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
0627c092c2
commit
f606e90deb
|
|
@ -257,6 +257,9 @@ if ( $patron && $op eq "cud-returnbook" && $allowselfcheckreturns ) {
|
|||
$failed_checkout->{DEBT} = $needconfirm->{DEBT};
|
||||
}
|
||||
push @failed_checkouts, $failed_checkout;
|
||||
$template->param(
|
||||
hide_main => 1,
|
||||
);
|
||||
} else {
|
||||
if ( $confirmed || $issuenoconfirm ) { # we'll want to call getpatroninfo again to get updated issues.
|
||||
my ( $hold_existed, $item );
|
||||
|
|
|
|||
Loading…
Reference in New Issue