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

Table reload and pagination issue #234

Open
kempelen opened this issue Jan 3, 2017 · 1 comment
Open

Table reload and pagination issue #234

kempelen opened this issue Jan 3, 2017 · 1 comment

Comments

@kempelen
Copy link

kempelen commented Jan 3, 2017

Please reproduce this bug on the demo site:
http://zizzamia.com/ng-tasty/directive/table-server-side/reload

  1. Press "Search" button
  2. Type a letter into "Filters by name" input, eg. "s", then press "Search".
  3. Paginate to page 2
  4. Delete character from "Filters by name", then press "Search"
    Then pagination not working anymore...

I do not know what cause this problem, but this is an annoying bug, because I would like to poll/reload the content of a table from the server perodicaly, but the pagination crashes after some filtering.

@kojo-caesar
Copy link

Hello,

Did you find a solution for this?

In table.js, I removed the condition if (!filterChangedPage) at line 411 and let the updateServerSideResource() function be called. It seems to be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants