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

[Bug] Data lost in scenario #24

Closed
cboden opened this issue Jun 21, 2013 · 1 comment
Closed

[Bug] Data lost in scenario #24

cboden opened this issue Jun 21, 2013 · 1 comment

Comments

@cboden
Copy link

cboden commented Jun 21, 2013

Steps to reproduce:

The app is still on page 2 despite there not being enough results to warrant a second page.

I'm able to fix this in my application with the following code:

if ((params.page * params.count) > params.total) {
    params.page = 1;
}

But I think this should be taken care of by ng-table.

I tried to edit the source to make a PR but was unable to determine where I should make the change. (sorry)

@esvit esvit closed this as completed in 53459f9 Jun 22, 2013
@cboden
Copy link
Author

cboden commented Jun 23, 2013

Thank you!

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

1 participant