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 Info Not Updating Upon Reseting Current Page to 1 #370

Closed
1 task done
josephting opened this issue Aug 23, 2018 · 2 comments
Closed
1 task done

Pagination Info Not Updating Upon Reseting Current Page to 1 #370

josephting opened this issue Aug 23, 2018 · 2 comments
Assignees
Labels

Comments

@josephting
Copy link

Issue Type

  • Bug

Specs

vue-good-table@2.13.0
Chrome Stable Latest (v68.0.3440.106)

Expected Behavior

Current page in pagination info should go back to page 1 when currentPage is reset back to 1 due to filtering or perPageChange.

Actual Behavior

Current page did not get updated in Pagination Info component but the table is displaying page 1 records.

Steps to Reproduce the Problem

  1. Go to page 4 (Click next 3 times or enter 4 in input and press enter)
  2. Change rows per page from 2 to 5

jsfiddle

https://jsfiddle.net/eywraw8t/295127/

@xaksis
Copy link
Owner

xaksis commented Aug 23, 2018

oof! good catch @josephting will put in a fix.

@xaksis
Copy link
Owner

xaksis commented Aug 25, 2018

@josephting this is now fixed in v2.13.1

closing.

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

No branches or pull requests

2 participants