Commit 2aa53180 authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic
Browse files

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 <>
(cherry picked from commit 71d1c2df)
parent e624a075
......@@ -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'})};
Supports Markdown
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