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

Clearing table search input displays all rows and pagination settings are lost #415

Open
mkocansey opened this issue Dec 17, 2024 · 2 comments
Assignees
Labels
awaiting response This doesn't seem right bug Something isn't working
Milestone

Comments

@mkocansey
Copy link
Owner

When performing a search using the search bar, the results are correctly filtered and displayed. However, upon clearing the search input, the table reloads and displays all rows, but it does not respect the pagination settings.

@mkocansey mkocansey added the bug Something isn't working label Dec 17, 2024
@mkocansey mkocansey added this to the v2.8.x milestone Dec 17, 2024
@mkocansey mkocansey moved this to Ready in BladewindUI Dec 17, 2024
@mkocansey mkocansey moved this from Ready to In progress in BladewindUI Jan 8, 2025
@mkocansey mkocansey self-assigned this Jan 8, 2025
@mkocansey mkocansey moved this from In progress to In review in BladewindUI Jan 9, 2025
@github-project-automation github-project-automation bot moved this from In review to Done in BladewindUI Jan 9, 2025
@yuriPeixoto
Copy link

I just tried it and now it had a new behavior. I updated the project, runned artisan optimize:clear and tried to do some searchs. When I deleted the search, using the backspace or clicking in the close button at the search input, it keep the pagination but mantained the returned row numbers per page. Example: my search returned 30 entries. Now the pagination stay on page, but was running at each 30 entries, instead of the 10 per page that I defined in the component.

@mkocansey
Copy link
Owner Author

mkocansey commented Jan 15, 2025

@yuriPeixoto I don't quite understand your last comment. Possible to share a screenshot?

@mkocansey mkocansey reopened this Jan 15, 2025
@mkocansey mkocansey added the awaiting response This doesn't seem right label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response This doesn't seem right bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants