diff --git a/themes/bootstrap3/js/facets.js b/themes/bootstrap3/js/facets.js index b9ea423f155199c0f95071c3852fd9a35f4f96f4..949b1d75949ad7dfd28a34f6afd45cd6a90b5d37 100644 --- a/themes/bootstrap3/js/facets.js +++ b/themes/bootstrap3/js/facets.js @@ -142,6 +142,7 @@ VuFind.register('lightbox_facets', function LightboxFacets() { button.before(list); if (list.length && htmlDiv.find('.js-facet-next-page').length) { button.attr('data-page', page + 1); + button.attr('href', button.attr('href').replace(/facetpage=\d+/, 'facetpage='+(page+1))); button.text(VuFind.translate('more') + ' ...'); button.removeAttr('disabled'); } else {