Skip to content

Commit fc882c0

Browse files
committed
Set arbitrary limit to override default for hierarchicalMenu to prevent premature truncation of available categories while determining root path
1 parent c8c9f33 commit fc882c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view/frontend/web/instantsearch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ define(
475475
separator : algoliaConfig.instant.categorySeparator,
476476
templates : templates,
477477
showParentLevel : true,
478-
limit : algoliaConfig.maxValuesPerFacet,
478+
limit : 999, // arbitrarily high number - as premature truncate of results can prevent preselection for large category lists
479479
sortBy : ['name:asc'],
480480
transformItems(items) {
481481
return (algoliaConfig.isCategoryPage)

0 commit comments

Comments
 (0)