@@ -, +, @@ when item is on next or prev result page --- koha-tmpl/intranet-tmpl/js/browser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/js/browser.js +++ a/koha-tmpl/intranet-tmpl/js/browser.js @@ -77,6 +77,8 @@ KOHA.browser = function (searchid, biblionumber) { var searchURL = '/cgi-bin/koha/catalogue/search.pl?' + decodeURIComponent(me.searchCookie.query) + '&limit=' + decodeURIComponent(me.searchCookie.limit) + '&sort=' + me.searchCookie.sort + '&searchid=' + me.searchid + '&offset=' + me.offset; var prevbutton; var nextbutton; + var returnbutton; +returnbutton = '
' + BROWSER_RETURN_TO_SEARCH + '
'; if (me.curPos === 0 && me.searchCookie.offset === 1) { prevbutton = '« ' + BROWSER_PREVIOUS + ''; } else { @@ -87,7 +89,7 @@ KOHA.browser = function (searchid, biblionumber) { } else { nextbutton = '' + BROWSER_NEXT + ' »'; } - $('#menu').before('
' + prevbutton + nextbutton + '
'); + $('#menu').before('
' +returnbutton + '
' + prevbutton + nextbutton + '
'); $('a#browse-previous').click(function (ev) { ev.preventDefault(); browseRecords(-1); --