https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25676

--- Comment #3 from Katrin Fischer <[email protected]> ---
I believe the issue is here:

koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt:                  
                                                 ([% onloan_items_loo.count |
html %][% IF ( onloan_items_loo.longoverdue ) %], [%
onloan_items_loo.longoverdue | html %] long overdue[% END %]) date due: [%
onloan_items_loo.due_date | $KohaDates %]

And that leads us to Search.pm making wrong assumptions:

# if something's checked out and lost, mark it as 'long overdue'
if ( $item->{itemlost} ) {
   $onloan_items->{$key}->{longoverdue}++;
   $longoverdue_count++;
}

And now we have an issue: we can't guarantee which value is the long overdue
value lost value. If a library isn't using the long overdue prefs but using
command line parameters. So maybe we need to change this to just show the lost
description as is.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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/

Reply via email to