Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1735

Page Iterator does not allow users to redefine how many pages are shown in the page drop down

    Details

      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

            Activity

              People

              Assignee:
              michael.hashimoto Michael Hashimoto
              Reporter:
              douglas.wong Douglas Wong
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP3 (5.2.7)