[Koha-bugs] [Bug 20144] Test suite is failing with new default SQL modes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 12 12:02:45 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20144

--- Comment #38 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 71437
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71437&action=edit
Bug 20144: [sql_modes] Fix GROUP BY clause in GetLetters

This subroutine is wrong and must be rewritten using
Koha::Notice::Templates.
Mainly because the DB structure is bad.
Meanwhile we remove the branchcode from the SELECT to get correct
results, it was not used by callers anyway.

Fix for:
'koha_kohadev.letter.module' isn't in GROUP BY

t/db_dependent/Letters.t

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list