Once we start pushing over the known number of pages, we need to include an extra page in the page count once we know there's a next page. For example, page_size = 10, max_accurate_records = 50, total-records = 100. On page 5, we know that there's an extra page, so we display the "next" button, and now with this code, we also display the sixth page in the page list: < prev [1][2][3][4][5][6] next >
Once we start pushing over the known number of pages, we need to include an extra page in the page count once we know there's a next page.
For example, page_size = 10, max_accurate_records = 50, total-records = 100. On page 5, we know that there's an extra page, so we display the "next" button, and now with this code, we also display the sixth page in the page list: < prev [1][2][3][4][5][6] next >


svn commit r52004

nburka/site,silverorange/site,silverorange/site,nburka/site