[Bug 8891] New: "Long overdue (lost)" items in search results show garbled information
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8891 Priority: P5 - low Change sponsored?: --- Bug ID: 8891 Assignee: gmcharlt@gmail.com Summary: "Long overdue (lost)" items in search results show garbled information Severity: enhancement Classification: Unclassified OS: All Reporter: ago@bywatersolutions.com Hardware: All Status: NEW Version: rel_3_8 Component: Searching Product: Koha Created attachment 12747 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12747&action=edit long overdue examples When logged in as a user for whom lost items are displayed by default, items in search results which have the status "Long overdue (lost)" show garbled information. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8891 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |kyle@bywatersolutions.com Resolution|--- |WORKSFORME -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8891 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED Resolution|WORKSFORME |--- CC| |nengard@gmail.com --- Comment #1 from Nicole C. Engard <nengard@gmail.com> --- I'm seeing this again in Koha 3.18.6. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8891 --- Comment #2 from Nicole C. Engard <nengard@gmail.com> --- Created attachment 41234 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41234&action=edit long overdue items -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8891 --- Comment #3 from Nicole C. Engard <nengard@gmail.com> --- Notes from Barton: ----------- The 'long overdue' line in the 'onloan' section is at line 586 of koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt 573 [% IF ( SEARCH_RESULT.onloancount ) %] 574 <span class="status">[% SEARCH_RESULT.onloancount %] on loan:</span> 575 <ul> 576 [% FOREACH onloan_items_loo IN SEARCH_RESULT.onloan_items_loop %] 577 [% IF item_level_itypes && !noItemTypeImages && onloan_items_loo.imageurl %] 578 <li style="list-style: none; list-style-type: none;"> 579 <img src="[% onloan_items_loo.imageurl %]" title="[% onloan_items_loo.description %]" alt="[% onloan_items_loo.description %]" /> 580 [% ELSE %] 581 <li> 582 [% END %] 583 [% IF ( onloan_items_loo.branchname ) %][% onloan_items_loo.branchname %][% END %] 584 [% IF ( onloan_items_loo.location ) %][% onloan_items_loo.location %][% END %] 585 [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber %]</a>][% END %] 586 ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] long overdue[% END %]) date due: [% onloan_items_loo.due_date %] 587 [% IF item_level_itypes && onloan_items_loo.description %] 588 <br/>[% onloan_items_loo.description %] 589 [% END %] 590 </li> 591 [% END %] 592 </ul> 593 [% END %] The actual text in the rendered HTML is (, 1 long overdue) date due: So it seems that onloan_items_loo.branchname. onloan_items_loo.location, onloan_items_loo.itemcallnumber and onloan_items_loo.count are not populated, but onloan_items_loo.longoverdue is 1. I'll have to take a look at how SEARCH_RESULT.onloan_items_loop is populated... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8891 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barton@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8891 Nicole C. Engard <nengard@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|gmcharlt@gmail.com |oleonard@myacpl.org Component|Searching |Templates -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org