Commit 71d1c2df authored by Robert Lyon's avatar Robert Lyon

Bug 1735256: Make sure pagination offset is reset on new search

In the elasticsearch results page when using the search box on that page


Change-Id: I1b6fa028c5456623dd656b99b0263ed9a28748dd
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 947131d7
......@@ -149,7 +149,8 @@ jQuery(function ($) {
var tagsonly = false;
var params = {'query': $('#search_query').val(), 'tagsonly': tagsonly, 'mainfacetterm': null,'limit': $('#setlimitselect').val(), 'extradata':JSON.stringify({'page':'index'})};
var params = {'query': $('#search_query').val(), 'tagsonly': tagsonly, 'mainfacetterm': null,
'offset': 0, 'limit': $('#setlimitselect').val(), 'extradata':JSON.stringify({'page':'index'})};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment