Skip to content

Commit 8c1309a

Browse files
committed
fix calling the same start value again
1 parent 7234653 commit 8c1309a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

unbxdSearch.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,10 +1557,9 @@ var unbxdSearchInit = function(jQuery, Handlebars){
15571557

15581558
this.paintSelectedFacets();
15591559

1560-
if (this.options.deferInitRender.indexOf('search') > -1 && this.params.extra.page > 1){
1561-
this.params.extra.page = this.params.extra.page - 1;
1560+
if (this.options.deferInitRender.indexOf('search') > -1){
1561+
this.options.deferInitRender = [];
15621562
}
1563-
this.options.deferInitRender = [];
15641563

15651564
if (typeof this.options.onFacetLoad == "function") {
15661565
this.options.onFacetLoad.call(this, obj);

0 commit comments

Comments
 (0)