http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8891
--- Comment #3 from Nicole C. Engard <[email protected]> --- 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. _______________________________________________ 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/
