Skip to content

Commit

Permalink
fix(facetOrdering): prevent sparse array
Browse files Browse the repository at this point in the history
This caused the number of items in limit to be lower than the possible returned results, as sparse elements in an array still "take up space"

algolia/algoliasearch-helper-js#879
  • Loading branch information
Haroenv committed Oct 12, 2021
1 parent 76afacb commit ef870bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -55,7 +55,7 @@
"@types/google.maps": "^3.45.3",
"@types/hogan.js": "^3.0.0",
"@types/qs": "^6.5.3",
"algoliasearch-helper": "^3.5.5",
"algoliasearch-helper": "0.0.0-27d41bf",
"classnames": "^2.2.5",
"events": "^1.1.0",
"hogan.js": "^3.0.2",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -3151,10 +3151,10 @@ ajv@^6.1.0, ajv@^6.10.0, ajv@^6.10.2, ajv@^6.12.3, ajv@~6.12.6:
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"

algoliasearch-helper@^3.5.5:
version "3.5.5"
resolved "https://registry.yarnpkg.com/algoliasearch-helper/-/algoliasearch-helper-3.5.5.tgz#05263869d3c8a7292278d7e49630f52520f204d7"
integrity sha512-JDH14gMpSj8UzEaKwVkrqKOeAOyK0dDWsFlKvWhk0Xl5yw9FyafYf1xZPb4uSXaPBAFQtUouFlR1Zt68BCY0/w==
algoliasearch-helper@0.0.0-27d41bf:
version "0.0.0-27d41bf"
resolved "https://registry.yarnpkg.com/algoliasearch-helper/-/algoliasearch-helper-0.0.0-27d41bf.tgz#00761b0a4371033c6b4db92f727ae66f926af35b"
integrity sha512-fwHydK8n4PfHQBp0kXJGz5Vcbtyuz0CsHznZ3xKo8XabXQ3I0tyJuVBd/6QWYjEJBmKcofQHuUwbuZdOxH3gaQ==
dependencies:
events "^1.1.1"

Expand Down

0 comments on commit ef870bd

Please sign in to comment.