From c70decda8eed8e4689432da659a2c01239b10daf Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 24 Apr 2019 10:51:10 +0100 Subject: [PATCH] Bug 11573: (follow-up) Correction to accountype search on opac-user.pl With the update of accountype from 'Rent' to four distinct accountypes we need to update the search here to catch all four types of charge. Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall --- opac/opac-user.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-user.pl b/opac/opac-user.pl index 49a8800e11..d7b1355a9d 100755 --- a/opac/opac-user.pl +++ b/opac/opac-user.pl @@ -195,7 +195,7 @@ if ( $pending_checkouts->count ) { # Useless test { borrowernumber => $patron->borrowernumber, amountoutstanding => { '>' => 0 }, - accounttype => 'Rent', + accounttype => { 'LIKE' => 'RENT_%' }, itemnumber => $issue->{itemnumber} } ); -- 2.20.1 (Apple Git-117)