From a408436aeb823487e1ef000c2e6c986ba426ace3 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 21 Feb 2019 16:48:22 +0000 Subject: [PATCH] Bug 22391: Remove group by clause in ajax-getauthvaluedropbox.pl To test: 1 - Enable strict sql modes 2 - Tail the error log 3 - Add an item to a basket - note that when fund selected you get an error 4 - Apply patch 5 - Repeat, no error --- acqui/ajax-getauthvaluedropbox.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/acqui/ajax-getauthvaluedropbox.pl b/acqui/ajax-getauthvaluedropbox.pl index f5852d4bd7..d82d4a59c1 100755 --- a/acqui/ajax-getauthvaluedropbox.pl +++ b/acqui/ajax-getauthvaluedropbox.pl @@ -75,7 +75,6 @@ my $avs = Koha::AuthorisedValues->search( category => $category, }, { - group_by => 'lib', order_by => [ 'category', 'lib', 'lib_opac' ], } ); -- 2.11.0