@@ -, +, @@ output_pref({ dt => dt_from_string( $str ), ... output_pref({ str => $str, ... --- C4/Search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/C4/Search.pm +++ a/C4/Search.pm @@ -2084,7 +2084,7 @@ sub searchResults { { $onloan_count++; my $key = $prefix . $item->{onloan} . $item->{barcode}; - $onloan_items->{$key}->{due_date} = output_pref( { dt => scalar dt_from_string( $item->{onloan} ), dateonly => 1 } ); + $onloan_items->{$key}->{due_date} = output_pref({ str => $item->{onloan}, dateonly => 1 }); $onloan_items->{$key}->{count}++ if $item->{$hbranch}; $onloan_items->{$key}->{branchname} = $item->{branchname}; $onloan_items->{$key}->{location} = $shelflocations->{ $item->{location} }; --