Delete pageIndex search parameter when using context search

Created on 6 August 2024, 5 months ago

Problem/Motivation

When using Context search + loadmore pager I have noticed that using the facets is not resetting the page parameter. The reason for this is that the loadmore pager is saving the information about the current page inside pageIndex and not page.

Steps to reproduce

  • Use Context search
  • Use Load more pager component
  • Add any facets
  • Go to next page via clicking the Load more button
  • Open Network tab of your Dev Tools
  • Click any facet
  • Notice that page parameter is visible in the request URL

Proposed resolution

Also delete pageIndex when using facets

🐛 Bug report
Status

Needs review

Component

Code

Created by

🇩🇪Germany yannickoo Berlin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024