Bug 21603: Remove incorrect GROUP BY from C4::CourseReserves
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 18 Oct 2018 21:00:15 +0000 (18:00 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 6 Nov 2018 11:56:12 +0000 (11:56 +0000)
commitab9e44df31eadf09cefde0fee16f4a80e9c16049
tree01b59b58d19be6264464f9a6251f752b132ae182
parenta23f610fc2a8283b12cd8af4832dc34eb493004b
Bug 21603: Remove incorrect GROUP BY from C4::CourseReserves

'koha_kohadev.c.department' isn't in GROUP BY

Test plan:
Prove that the test fail without this patch and pass with this patch
applied (switch on the SQL modes)

Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 41397c855397aee9847943c2f124e0bdc8ba7eb7)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/CourseReserves.pm
t/db_dependent/CourseReserves.t