@@ -, +, @@ - Make sure sample patron data is loaded and you have a patron without a - Make an empty search for all patrons or another search that gives you - Try to sort on the date expired column --- C4/Utils/DataTables/Members.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Utils/DataTables/Members.pm +++ a/C4/Utils/DataTables/Members.pm @@ -186,7 +186,7 @@ sub search { if( $patron->{dateexpiry} ) { # FIXME We should not format the date here, do it in template-side instead - $patron->{dateexpiry} = output_pref( { dt => dt_from_string( $patron->{dateexpiry}, 'iso'), dateonly => 1} ); + $patron->{dateexpiry} = output_pref( { dt => scalar dt_from_string( $patron->{dateexpiry}, 'iso'), dateonly => 1} ); } else { $patron->{dateexpiry} = ''; } --