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

(-)a/koha-tmpl/intranet-tmpl/js/browser.js (-1 / +1 lines)
Lines 82-88 KOHA.browser = function (searchid, biblionumber) { Link Here
82
                    } else {
82
                    } else {
83
                        prevbutton = '<a href="#" id="browse-previous" class="browse-button">« ' + BROWSER_PREVIOUS + '</a>';
83
                        prevbutton = '<a href="#" id="browse-previous" class="browse-button">« ' + BROWSER_PREVIOUS + '</a>';
84
                    }
84
                    }
85
                    if (me.curPos === me.searchCookie.total - 1) {
85
                    if (me.searchCookie.offset + me.curPos == me.searchCookie.total) {
86
                        nextbutton = '<span id="browse-next" class="browse-button">' + BROWSER_NEXT + ' »</span>';
86
                        nextbutton = '<span id="browse-next" class="browse-button">' + BROWSER_NEXT + ' »</span>';
87
                    } else {
87
                    } else {
88
                        nextbutton = '<a href="#" id="browse-next" class="browse-button">' + BROWSER_NEXT + ' »</a>';
88
                        nextbutton = '<a href="#" id="browse-next" class="browse-button">' + BROWSER_NEXT + ' »</a>';
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-3 / +2 lines)
Lines 139-146 $('#sort_by').change(function() { Link Here
139
            [%- END -%]
139
            [%- END -%]
140
        ];
140
        ];
141
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
141
        var browser = KOHA.browser('[% searchid %]', parseInt('[% biblionumber %]', 10));
142
        browser.create([% SEARCH_RESULTS.first.result_number %], '[% query_cgi | uri %]',
142
        browser.create([% SEARCH_RESULTS.first.result_number %], '[% query_cgi | uri %]', '[% limit_cgi | uri %]','[% sort_cgi | uri %]',
143
                        '[% limit_cgi | uri %]','[% sort_cgi | uri %]', newresults, '[% total %]');
143
                        newresults, '[% total %]');
144
    [% END %]
144
    [% END %]
145
    [% IF (gotoPage && gotoNumber) %]
145
    [% IF (gotoPage && gotoNumber) %]
146
        [% IF (gotoNumber == 'first') %]
146
        [% IF (gotoNumber == 'first') %]
147
- 

Return to bug 12481