Bug 21593: Remove GROUP BY from GetAuthValueDropbox master
authorNick Clemens <nick@bywatersolutions.com>
Thu, 18 Oct 2018 10:05:38 +0000 (10:05 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 18 Oct 2018 11:54:25 +0000 (11:54 +0000)
commit87c7e534f15aff14d6e82cbb67ecbb8e8715c2b7
tree28ddbea9c6e98f9308f8e6a6bed05af6c57c6039
parentefd2b75b6741f95a79a88e0765bcb0802a7cf1fd
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>
Koha/Template/Plugin/AuthorisedValues.pm