Describe the bug 🐛
connectInfiniteHits doesn't implement getWidgetState() and getWidgetSearchParameters() to support routing (introduced in #2829).
As a result, it's not possible to retrieve the page number for the router on the hits (except when having another widget mounted, such as pagination).
To Reproduce 🔍
Steps to reproduce the behavior:
pagination widget line 39Expected behavior 💭
The page number should be accessible without the pagination widget.
Environment:
I don't think the connectHits connector is a concern for this issue since it doesn't let the user refine the page. Only the connectInfiniteHits connector have this feature. Did I miss something?
Indeed, I edited the issue.
Fixed in 3.4.0 with the introduction of the previous button on infiniteHits.