https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43296 --- Comment #1 from Slava Shishkin <slavashishkin@gmail.com> --- Created attachment 203632 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203632&action=edit Bug 43296: Allow alphanumeric patron attributes in circulation stats Allow letters, numbers and underscores in patron attribute codes used by `Row`, `Column` and `Filter_borrower_attributes` parameters. Test plan: 1. Go to Reports > Statistics wizards > Circulation. 2. Select Issuing library as Row and `SHOW_BCODE` as Column. 3. Submit the report. 4. Report fails with "datetime isn't in GROUP BY" DBI error. 5. Select `SHOW_BCODE` as Row and Home library as Column. 6. Result incorrectly uses branch / `items.homebranch`. Apply the patch 7. Restart Plack (`sudo koha-plack --restart kohadev`) 8. Repeat steps 2 and 3. 9. Confirm that the report succeeds and uses branch / `SHOW_BCODE`. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.