Fixed and closed #495 : If the number of pages is equal to (pageCount-1)*pageSize the last page is not displayed.
This commit is contained in:
parent
9696e38c32
commit
3f999db114
3 changed files with 6 additions and 3 deletions
|
@ -47,6 +47,7 @@ namespace ScrewTurn.Wiki {
|
|||
|
||||
currentPages = GetAllPages();
|
||||
pageSelector.ItemCount = currentPages.Count;
|
||||
pageSelector.PageSize = PageSize;
|
||||
|
||||
string p = Request["Page"];
|
||||
if(!int.TryParse(p, out selectedPage)) selectedPage = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue