View | Details | Raw Unified | Return to bug 17821
Collapse All | Expand All

(-)a/C4/Search.pm (-1 / +1 lines)
Lines 2096-2102 sub searchResults { Link Here
2096
            {
2096
            {
2097
                $onloan_count++;
2097
                $onloan_count++;
2098
                my $key = $prefix . $item->{onloan} . $item->{barcode};
2098
                my $key = $prefix . $item->{onloan} . $item->{barcode};
2099
                $onloan_items->{$key}->{due_date} = output_pref( { str => $item->{onloan}, dateonly => 1 } );
2099
                $onloan_items->{$key}->{due_date} = $item->{onloan};
2100
                $onloan_items->{$key}->{count}++ if $item->{$hbranch};
2100
                $onloan_items->{$key}->{count}++ if $item->{$hbranch};
2101
                $onloan_items->{$key}->{branchname}     = $item->{branchname};
2101
                $onloan_items->{$key}->{branchname}     = $item->{branchname};
2102
                $onloan_items->{$key}->{location}       = $shelflocations->{ $item->{location} };
2102
                $onloan_items->{$key}->{location}       = $shelflocations->{ $item->{location} };
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-2 / +2 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Biblio %]
2
[% USE Biblio %]
3
[% USE KohaDates %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Catalog &rsaquo; [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %]</title>
5
<title>Koha &rsaquo; Catalog &rsaquo; [% IF ( searchdesc ) %]Results of search [% IF ( query_desc ) %]for '[% query_desc | html %]'[% END %][% IF ( limit_desc ) %]&nbsp;with limit(s):&nbsp;'[% limit_desc | html %]'[% END %][% ELSE %]You did not specify any search criteria[% END %]</title>
5
[% INCLUDE 'doc-head-close.inc' %]
6
[% INCLUDE 'doc-head-close.inc' %]
Lines 669-675 var holdForPatron = function () { Link Here
669
                                        [% IF ( onloan_items_loo.branchname ) %][% onloan_items_loo.branchname %][% END %]
670
                                        [% IF ( onloan_items_loo.branchname ) %][% onloan_items_loo.branchname %][% END %]
670
                                        [% IF ( onloan_items_loo.location ) %][% onloan_items_loo.location %][% END %]
671
                                        [% IF ( onloan_items_loo.location ) %][% onloan_items_loo.location %][% END %]
671
                                        [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber %]</a>][% END %]
672
                                        [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&amp;q=%22[% onloan_items_loo.itemcallnumber |uri %]%22">[% onloan_items_loo.itemcallnumber %]</a>][% END %]
672
                                        ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] long overdue[% END %]) date due: [% onloan_items_loo.due_date %]
673
                                        ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] long overdue[% END %]) date due: [% onloan_items_loo.due_date | $KohaDates %]
673
                                        [% IF item_level_itypes && onloan_items_loo.description %]
674
                                        [% IF item_level_itypes && onloan_items_loo.description %]
674
                                        <br/>[% onloan_items_loo.description %]
675
                                        <br/>[% onloan_items_loo.description %]
675
                                        [% END %]
676
                                        [% END %]
676
- 

Return to bug 17821