[Koha-bugs] [Bug 25676] Staff client catalog search shows incorrect item status under location
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Jun 7 15:08:01 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25676
--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
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.
More information about the Koha-bugs
mailing list