« Previous | Next » 

Revision c897a811

IDc897a81154630578153509a79ce620c9c2350859
Child 18e8b999, 7a06d525

Added by Bastian Waidelich over 7 years ago

[BUGFIX] Paginate Widget: Correctly highlight current page

With #28283 the current page is correctly highlighted most of the
time. But if a non-existing page is requested (for example by
manually setting the currentPage-argument to a number higher than
the number of total pages) the last page should be highlighted, but
is not.

That is fixed with this change by making sure that ``numberOfPages``
is always an integer.

Change-Id: Ie1c0238d570040501b3194962135082fbad0ee6d
Related: #28283
Releases: master, 2.2, 2.1

  • added
  • modified
  • copied
  • renamed
  • deleted