Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-105522

Increase web content and asset entry limit

Details

    • Feature Request
    • Status: Reviewed
    • Minor
    • Resolution: Already in the Product
    • 7.0.0 DXP GA1, 7.0.X, Master
    • 7.4.1 CE GA2
    • Search Container
    • None

    Description

      The customer would like to increase the max web content entries per page to higher than 200 as it is the maximum at the moment according to https://docs.liferay.com/portal/7.2-latest/propertiesdoc/portal.properties.html the search.container.page.delta.values portal propertie.

      The 200 value is hardcoded by the MAX_DELTA variable:
      https://github.com/liferay/liferay-portal/blob/master/portal-kernel/src/com/liferay/portal/kernel/dao/search/SearchContainer.java#L69

      public static final int MAX_DELTA = 200;

      The customer is asking for a property that can make the MAX_DELTA configurable "search.container.page.max.delta" where it allows to set the maximum entry limit as required by the user.


      11/05/2021 Update:

      This was implemented in the LPS-130743, see the description of that ticket:

      A new property is defined in portal-ext.properties to set the absolute maximum allowed delta value.
      The new property is

      search.container.page.max.delta

      This new property works together with search.container.page.default.delta property in the following way:

      • search.container.page.max.delta default value is 200.
      • search.container.page.default.delta default value remains in 20.
        Default values apply when either property is not defined or property is defined with a value <= 0
      • If search.container.page.max.delta > search.container.page.default.delta then delta = search.container.page.default.delta
      • If search.container.page.max.delta < search.container.page.default.delta then delta = search.container.page.max.delta

      Attachments

        Issue Links

          Activity

            People

              team-devrel Team Developer Relations
              ahmed.abdin Ahmed Abdin
              Votes:
              10 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  7.4.1 CE GA2 DXP 7,4