https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15822
Jonathan Druart <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|3.22 |master Severity|critical |major --- Comment #16 from Jonathan Druart <[email protected]> --- I do not recreate, but the correct fix would be: diff --git a/C4/Search.pm b/C4/Search.pm index 4d5c0ed..235d49b 100644 --- a/C4/Search.pm +++ b/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 => 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} }; Lowering the severity as it does not seem to affect a lot of people. Please confirm that this change fixes the issue. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
