Bug 21593: Remove GROUP BY from GetAuthValueDropbox

With new MYSQL modes we are permitted only full group by.

In this case I don't think we need a GROUP BY at all

To test:
1 - Try to pay a fine or create a borrower
2 - Internal server error
3 - Apply patch
4 - Page should load
5 - Test various authorised values ot ensure they work
   e.g. Set bsort1 and bsort2 to have some authorised values with and
   without branch limits
   set PAYMENT_TYPE to have some values with and without branch limits

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 87c7e534f1)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Nick Clemens 2018-10-18 10:05:38 +00:00 committed by Martin Renvoize
parent 8969eccaae
commit fa1846a7c1
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 0 additions and 1 deletions

View File

@ -48,7 +48,6 @@ sub GetAuthValueDropbox {
category => $category,
},
{
group_by => 'lib',
order_by => [ 'category', 'lib', 'lib_opac' ],
}
);