Details
-
Feature Request
-
Status: Reviewed
-
Minor
-
Resolution: Already in the Product
-
7.0.0 DXP GA1, 7.0.X, Master
-
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 issearch.container.page.max.deltaThis 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
- is fixed by
-
LPS-130743 Allow make configurable the absolute maximum allowed delta
- Closed