Commit b904f03c by Cecilia Vela Gurovic Committed by Gerrit Code Review

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

parents 9430f362 71d1c2df
......@@ -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'})};
p.sendQuery(params);
event.preventDefault();
});
......
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