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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-1 / +1 lines)
Lines 140-146 $('#sort_by').change(function() { Link Here
140
            [%- END -%]
140
            [%- END -%]
141
        ];
141
        ];
142
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
142
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
143
        browser.create([% SEARCH_RESULTS.first.result_number %], '[% query_cgi | uri %]', '[% limit_cgi | uri %]','[% sort_cgi | uri %]',
143
        browser.create([% SEARCH_RESULTS.first.result_number %], '[% query_cgi %]', '[% limit_cgi | uri %]','[% sort_cgi | uri %]',
144
               newresults, '[% total %]');
144
               newresults, '[% total %]');
145
    [% END %]
145
    [% END %]
146
    [% IF (gotoPage && gotoNumber) %]
146
    [% IF (gotoPage && gotoNumber) %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-facets.inc (-4 / +4 lines)
Lines 6-14 Link Here
6
                <ul>
6
                <ul>
7
                    <li>
7
                    <li>
8
                        [% IF ( available ) %]
8
                        [% IF ( available ) %]
9
                            Showing only <strong>available</strong> items. <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Show all items</a>
9
                            Showing only <strong>available</strong> items. <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi_not_availablity %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]">Show all items</a>
10
                        [% ELSE %]
10
                        [% ELSE %]
11
                            <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi |url %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]&amp;limit=available">Limit to currently available items.</a>
11
                            <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi |url %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %]&amp;limit=available">Limit to currently available items.</a>
12
                        [% END %]
12
                        [% END %]
13
                    </li>
13
                    </li>
14
                </ul>
14
                </ul>
Lines 32-38 Link Here
32
                        <ul>
32
                        <ul>
33
                            [% FOREACH facet IN facets_loo.facets %]
33
                            [% FOREACH facet IN facets_loo.facets %]
34
                                <li>
34
                                <li>
35
                                  [% SET query_cgi_f = query_cgi | url %]
35
                                  [% SET query_cgi_f = query_cgi %]
36
                                  [% SET limit_cgi_f = limit_cgi | url %]
36
                                  [% SET limit_cgi_f = limit_cgi | url %]
37
                                  [% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi_f _ limit_cgi_f %]
37
                                  [% SET url = "/cgi-bin/koha/opac-search.pl?" _ query_cgi_f _ limit_cgi_f %]
38
                                  [% IF ( sort_by ) %]
38
                                  [% IF ( sort_by ) %]
Lines 54-60 Link Here
54
                            [% END %]
54
                            [% END %]
55
                            [% IF ( facets_loo.expandable ) %]
55
                            [% IF ( facets_loo.expandable ) %]
56
                                <li class="showmore">
56
                                <li class="showmore">
57
                                    <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi |url %][% limit_cgi |url %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %][% IF ( offset ) %]
57
                                    <a href="/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi |url %][% IF ( sort_by ) %]&amp;sort_by=[% sort_by |url %][% END %][% IF ( offset ) %]
58
                                            &amp;offset=[% offset |url %][% END %]&amp;expand=[% facets_loo.expand |url %]#[% facets_loo.type_id |url %]">Show more</a>
58
                                            &amp;offset=[% offset |url %][% END %]&amp;expand=[% facets_loo.expand |url %]#[% facets_loo.type_id |url %]">Show more</a>
59
                                </li>
59
                                </li>
60
                            [% END %]
60
                            [% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-4 / +3 lines)
Lines 16-22 Link Here
16
    [% END %]
16
    [% END %]
17
[% END %]
17
[% END %]
18
18
19
<link rel="alternate" type="application/rss+xml" title="[% LibraryName |html %] Search RSS feed" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |uri %][% limit_cgi |uri %]&amp;count=[% countrss |uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" />
19
<link rel="alternate" type="application/rss+xml" title="[% LibraryName |html %] Search RSS feed" href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi |uri %]&amp;count=[% countrss |uri %]&amp;sort_by=acqdate_dsc&amp;format=rss2" />
20
</head>
20
</head>
21
21
22
[% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %]
22
[% INCLUDE 'bodytag.inc' bodyid='results' bodyclass='scrollto' %]
Lines 41-47 Link Here
41
                        <strong>No results found!</strong>
41
                        <strong>No results found!</strong>
42
                        <p>
42
                        <p>
43
                            [% IF ( searchdesc ) %]
43
                            [% IF ( searchdesc ) %]
44
                                No results found for that in [% LibraryName %] catalog. <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi | html | url %][% limit_cgi | html | url %]&amp;format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" border="0" class="rsssearchicon"/></a>
44
                                No results found for that in [% LibraryName %] catalog. <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi | html | url %]&amp;format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" border="0" class="rsssearchicon"/></a>
45
                            [% ELSE %]
45
                            [% ELSE %]
46
                                You did not specify any search criteria.
46
                                You did not specify any search criteria.
47
                            [% END %]
47
                            [% END %]
Lines 80-86 Link Here
80
                                [% END %]
80
                                [% END %]
81
                            ).
81
                            ).
82
                        [% END %]
82
                        [% END %]
83
                        <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a>
83
                        <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi %][% limit_cgi |html | url %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a>
84
                    [% END # / IF total %]
84
                    [% END # / IF total %]
85
                    </p>
85
                    </p>
86
                [% END # / IF searchdesc %]
86
                [% END # / IF searchdesc %]
87
- 

Return to bug 11944