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

(-)a/C4/Search.pm (-1 lines)
Lines 2242-2248 sub searchResults { Link Here
2242
            }
2242
            }
2243
        }
2243
        }
2244
        $oldbiblio->{norequests} = 1 unless $can_place_holds;
2244
        $oldbiblio->{norequests} = 1 unless $can_place_holds;
2245
        $oldbiblio->{itemsplural}          = 1 if $items_count > 1;
2246
        $oldbiblio->{items_count}          = $items_count;
2245
        $oldbiblio->{items_count}          = $items_count;
2247
        $oldbiblio->{available_items_loop} = \@available_items_loop;
2246
        $oldbiblio->{available_items_loop} = \@available_items_loop;
2248
        $oldbiblio->{onloan_items_loop}    = \@onloan_items_loop;
2247
        $oldbiblio->{onloan_items_loop}    = \@onloan_items_loop;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-2 / +2 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% PROCESS 'i18n.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<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>
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>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
Lines 577-583 var holdForPatron = function () { Link Here
577
578
578
                                <td><div class="availability">
579
                                <td><div class="availability">
579
                                    [% IF ( SEARCH_RESULT.items_count ) %]<strong>[% SEARCH_RESULT.items_count %]
580
                                    [% IF ( SEARCH_RESULT.items_count ) %]<strong>[% SEARCH_RESULT.items_count %]
580
                                    [% IF ( SEARCH_RESULT.itemsplural ) %]items[% ELSE %]item[% END %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] available:[% ELSE %], None available[% END %]</strong>
581
                                    [% tn('item', 'items', SEARCH_RESULT.items_count) %][% IF ( SEARCH_RESULT.availablecount ) %], [% SEARCH_RESULT.availablecount %] available:[% ELSE %], None available[% END %]</strong>
581
582
582
                                    [% IF ( SEARCH_RESULT.availablecount ) %]
583
                                    [% IF ( SEARCH_RESULT.availablecount ) %]
583
                                    <ul>
584
                                    <ul>
584
- 

Return to bug 15395