Skip to content

Commit 066bbbd

Browse files
committed
docs: add note for how to get the entire dataset's first and last page numbers
1 parent b5262e7 commit 066bbbd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

user_guide_src/source/libraries/pagination.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,9 @@ getFirstPageNumber() & getLastPageNumber()
323323
These methods return the page numbers to the first and last pages in the set of
324324
links to be displayed.
325325

326-
.. note:: Unlike `getFirst() & getLast()`_, these methods return the numbers in
327-
the set of links to be displayed.
326+
.. note:: If you want to get the page numbers to the first and last pages in the
327+
result set, the first page number is always 1, and use `getPageCount()`_ to
328+
get the last page number.
328329

329330
getCurrentPageNumber()
330331
----------------------

0 commit comments

Comments
 (0)