From feeacb29ecfcf729aa94bf87480d1a221b2a82a5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 5 Nov 2015 11:32:47 +0000 Subject: [PATCH] Bug 15138: Fix typo timestamap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduced by bug 14426, should be backported to all supported stable version (3.14, 3.16, 3.18 and 3.20). Test plan: got on Home › Reports › Patrons with no checkouts Fill the Not checked out since, you will never get any result, a sql error is in the log Unknown column 'issues.timestamap' in 'where clause' --- reports/borrowers_out.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/borrowers_out.pl b/reports/borrowers_out.pl index 55f29ef..c4b7c6a 100755 --- a/reports/borrowers_out.pl +++ b/reports/borrowers_out.pl @@ -230,7 +230,7 @@ sub calculate { } $strcalc .= " AND NOT EXISTS (SELECT * FROM issues WHERE issues.borrowernumber=borrowers.borrowernumber "; if ( @$filters[1] ) { - $strcalc .= " AND issues.timestamap > ?"; + $strcalc .= " AND issues.timestamp > ?"; push @query_args, @$filters[1]; } $strcalc .= ") "; -- 2.1.0