Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP2 (5.2.6)
-
None
-
All
Description
Currently Liferay is hard coded to only display a delta of 25 from the current page in the page iterator drop down. So if the user is on page 1, pages 1-26 will be available, if the user is on page 51, pages 26-76 is available. Rather than being a hard coded value, the user or admin should be able to change this delta value.
API CHANGES:
Class: com.liferay.portal.kernel.dao.search.SearchContainer
Method: getMaxPages()
Status: Deprecated
New method: PropsUtil.get("search.container.page.iterator.max.pages")
Method: setMaxPages(int maxPages)
Status: Deprecated
Attachments
Issue Links
- is related to
-
LPS-6312 Page Iterator does not allow users to redefine how many pages are shown in the page drop down
- Closed