Skip to content

avoid zero max index and fall back to last page - #2043

Open
hejiantao5 wants to merge 2 commits into
knockout:gh-pagesfrom
hejiantao5:patch-2
Open

avoid zero max index and fall back to last page#2043
hejiantao5 wants to merge 2 commits into
knockout:gh-pagesfrom
hejiantao5:patch-2

Conversation

@hejiantao5

Copy link
Copy Markdown

if there is no data, we should return maxPageIndex as 0;
if last item in last page removed, fall back to previous page

if there is no data, we should return maxPageIndex as 0;
if last item in last page removed, fall back to previous page
@hejiantao5

Copy link
Copy Markdown
Author

@rniemeyer, re-commit the change accordingly #2040

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

Successfully merging this pull request may close these issues.

2 participants