From cc5c4a615f48456a030724a9a5003afc72f7cda0 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=utf8 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' Signed-off-by: Marc Véron Signed-off-by: Kyle M Hall Signed-off-by: Frédéric Demians --- 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 55f29efed5..c4b7c6a2cf 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.39.5