[Koha-bugs] [Bug 32116] New: "Patrons with the most checkouts" report (bor_issues_top.pl) broken with SQL strict mode enabled

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 7 03:09:40 CET 2022


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

            Bug ID: 32116
           Summary: "Patrons with the most checkouts" report
                    (bor_issues_top.pl) broken with SQL strict mode
                    enabled
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Reports
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: david at davidnind.com
        QA Contact: testopia at bugs.koha-community.org

This report (Reports > Top lists > Patrons with the most checkouts) does not
work when the database is in strict mode.

Error trace:

CGI::Compile::ROOT::kohadevbox_koha_reports_bor_issues_top_2epl::calculate():
DBI Exception: DBD::mysql::st execute failed: 'koha_kohadev.borrowers.surname'
isn't in GROUP BY at /kohadevbox/koha/reports/bor_issues_top.pl line 58 at
/usr/share/perl5/DBIx/Class/Exception.pm line 77
....

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


More information about the Koha-bugs mailing list