Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pagination: Pagination disappears #344

Open
jrcastro2 opened this issue Jan 26, 2021 · 0 comments
Open

Pagination: Pagination disappears #344

jrcastro2 opened this issue Jan 26, 2021 · 0 comments
Assignees
Labels
bug Something isn't working major

Comments

@jrcastro2
Copy link
Contributor

Package version (if known): v1.0.0-alpha.24

Describe the bug

Pagination dissapears if we do these 2 steps:

  1. We search for a field and we don't hit any result.
  2. We clean the searchbar and hit enter. (If we click "clear search" it doesn't happen).

If we inspect the url we will notice that the s=15 param disappeared.

Steps to Reproduce

  1. Go to documents.
  2. Click on any of the "search by " options.
  3. Search by a value that will not hit any result, example: authors.full_name:"Doe, Johna" .
  4. Clean the search bar and hit enter.
  5. Notice the pagination item disappeared and the url no longer has the param s=15.

Expected behavior

Pagination item should be displayed anyway.

Screenshots (if applicable)

Before (without bug)

image

After (with bug)

image

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
No open projects
Archived in project
3 participants