File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1358,7 +1358,7 @@ var unbxdSearchInit = function(jQuery, Handlebars){
1358
1358
if ( ! this . compiledSpellCheckTemp )
1359
1359
this . compiledSpellCheckTemp = Handlebars . compile ( this . options . spellCheckTemp ) ;
1360
1360
1361
- jQuery ( this . options . spellCheck ) . html ( this . compiledSpellCheckTemp ( { suggestion : obj . didYouMean [ 0 ] . suggestion } ) ) . show ( ) ;
1361
+ jQuery ( this . options . spellCheck ) . html ( this . compiledSpellCheckTemp ( { suggestion : obj . didYouMean [ 0 ] . suggestion , numberOfProducts : obj . response . numberOfProducts } ) ) . show ( ) ;
1362
1362
1363
1363
facetsAlso ? this . callResults ( this . paintAfterSpellCheck ) : this . callResults ( this . paintOnlyResultSet ) ;
1364
1364
@@ -1369,7 +1369,7 @@ var unbxdSearchInit = function(jQuery, Handlebars){
1369
1369
if ( ! this . compiledSpellCheckTemp )
1370
1370
this . compiledSpellCheckTemp = Handlebars . compile ( this . options . spellCheckTemp ) ;
1371
1371
1372
- jQuery ( this . options . spellCheck ) . html ( this . compiledSpellCheckTemp ( { suggestion : obj . didYouMean [ 0 ] . suggestion } ) ) . show ( ) ;
1372
+ jQuery ( this . options . spellCheck ) . html ( this . compiledSpellCheckTemp ( { suggestion : obj . didYouMean [ 0 ] . suggestion , numberOfProducts : obj . response . numberOfProducts } ) ) . show ( ) ;
1373
1373
1374
1374
facetsAlso ? this . callResults ( this . paintAfterSpellCheck ) : this . callResults ( this . paintOnlyResultSet ) ;
1375
1375
}
You can’t perform that action at this time.
0 commit comments