Skip to content

Bug: Search and/or Sort being enabled causes initial page setting to be ignored and is set to 1st page.  #1471

Open
@tjblue

Description

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Build Grid without sort or search enabled.
  2. Enable a different initial page on render with pagination config: pagination: {limit: 1, page: 1} // page: 1 sets rendered page to 2
  3. Observe that grid does render on 2nd page.
  4. Enable search and/or sort. search: true, sort: true
  5. Observe grid does not render on page 2. Renders to page 1.

Expected behavior
Search and Sort should not affect the initial page setting.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Edge
  • Version: 127.0.2651.86 (Official build) (64-bit)

Additional context
Add any other context about the problem here.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions