Skip to content

paginationTotalHits has different behavior in v0.5.6 #562

@chamby

Description

@chamby

Description

searchClient: instantMeiliSearch("REDACTED", "REDACTED", {
  paginationTotalHits: 1000,
})

paginationTotalHits no longer sets limit on the search request.

Expected behavior
I assume v0.5.5 functionality is correct. paginationTotalHits should set limit on the search request. This combined with

<ais-configure
  :hits-per-page.camel="50"
/>

would allow for faux infinite scroll behavior up to the paginationTotalHits value.

Current behavior
In v.0.5.6 paginationTotalHits no longer sets limit on the search request.

Environment (please complete the following information):

  • OS: MacOS 11.6
  • Browser: Firefox 94.0b6 (64-bit)
  • MeiliSearch version: v.0.23.1
  • instant-meilisearch version: v0.5.6
  • instantsearch.js version: v4.31.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions