From ff4a4df93d0d3c1ef7e14406c2c5ed43ac6a5f3c Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 15 Nov 2019 08:34:27 +0100 Subject: [PATCH] Revert "Bug 23484: (follow-up) add parenthesis in JOIN" This reverts commit c70ad1cbccfd1121901622840715894e095f90d3. --- circ/pendingreserves.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl index 9dc59701c4..0b9744fa22 100755 --- a/circ/pendingreserves.pl +++ b/circ/pendingreserves.pl @@ -210,7 +210,7 @@ my $strsth = LEFT JOIN branchtransfers ON items.itemnumber=branchtransfers.itemnumber LEFT JOIN issues ON items.itemnumber=issues.itemnumber LEFT JOIN borrowers ON reserves.borrowernumber=borrowers.borrowernumber - LEFT JOIN circulation_rules ON ( items.itype=circulation_rules.itemtype AND rule_name = 'holdallowed' AND circulation_rules.branchcode IS NULL AND circulation_rules.categorycode IS NULL ) + LEFT JOIN circulation_rules ON items.itype=circulation_rules.itemtype AND rule_name = 'holdallowed' AND circulation_rules.branchcode IS NULL AND circulation_rules.categorycode IS NULL WHERE reserves.found IS NULL $sqldatewhere -- 2.39.5