You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Using <Configure hitsPerPage={0} /> is tranformed to { "limit": 1 } in the request sent to meilisearch therefore returning 1 hit when 0 have been requested.
Expected behavior
Choosing 0 hits per page should set the limit to 0 in generated ms request
Description
Using
<Configure hitsPerPage={0} />
is tranformed to{ "limit": 1 }
in the request sent to meilisearch therefore returning 1 hit when 0 have been requested.Expected behavior
Choosing 0 hits per page should set the limit to 0 in generated ms request
Seems to come from
pagination adapter :
meilisearch-js-plugins/packages/instant-meilisearch/src/adapter/search-response-adapter/pagination-adapter.ts
Lines 18 to 23 in 8df981a
search params adapter
meilisearch-js-plugins/packages/instant-meilisearch/src/adapter/search-request-adapter/search-params-adapter.ts
Lines 37 to 40 in 8df981a
The text was updated successfully, but these errors were encountered: