Skip to content

avoid negative index and fall back to last page - #2040

Open
hejiantao5 wants to merge 1 commit into
knockout:gh-pages-3.0.0-preprocessingfrom
hejiantao5:patch-1
Open

avoid negative index and fall back to last page#2040
hejiantao5 wants to merge 1 commit into
knockout:gh-pages-3.0.0-preprocessingfrom
hejiantao5:patch-1

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
@rniemeyer

Copy link
Copy Markdown
Member

Thanks @hejiantao5 ! You will want to submit this against gh-pages to get it into the latest docs.

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.

3 participants