From 81137a17f22bb5352b9f73364ba17369fa7afd58 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 Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- 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.39.5