From 2656711185a60fba5cc2bb5dd1e48f195ff17ca4 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 4 Jun 2019 11:37:13 +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