https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20455 --- Comment #1 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 73287 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73287&action=edit Bug 20455: Fix sort patrons by date expired We may need to apply this change for all other occurrences in our codebase. Test plan: - Make sure sample patron data is loaded and you have a patron without a date expired defined - Make an empty search for all patrons or another search that gives you a good amount of results - Try to sort on the date expired column => Without this patch you get Odd number of elements in anonymous hash at /home/vagrant/kohaclone/C4/Utils/DataTables/Members.pm line 189. output_pref is called with 'dateonly' (ref SCALAR), not a DateTime object -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.