https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43296 --- Comment #6 from David Nind <david@davidnind.com> --- Created attachment 204067 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204067&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`. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.