You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2018. It is now read-only.
lastPage should probably be set back to null to indicate that value is temporarily meaningless. If you can help me with that it'll be great. Otherwise I'll deal with it sometime next week.
@wyuenho it feels weird that
lastPage
is less thanfirstPage
in case when page numbers are 1-based andtotalRecords
is 0:https://github.com/wyuenho/backbone-pageable/blob/master/test/server-pageable.js#L142
Is it a bug?
Anyway this causes a bug in
backgrid-paginator
. When a collection is empty, the links to next and last page are not disabled: https://github.com/wyuenho/backgrid-paginator/blob/master/backgrid-paginator.js#L152The text was updated successfully, but these errors were encountered: