Details
-
Story
-
Status: Closed
-
Minor
-
Resolution: Completed
-
None
Description
Intro/Context:
The goal of this story is to propose a pagination configuration options for the Collection Display fragment as a solution to the above need.
Pagination
Given the page creator wants to place a Pagination on the Collection Display Fragment
-
When the page creator accesses the "Collection Display" fragment configuration
Then the page creator can enable/disable the pagination on the Collection by selecting one of the following:
- none (the pagination is not shown)
- regular (a complete pagination)
- simple (next/previous buttons)
-
Max Items for the Collection
When the System Admin wants to increase the Max number of Items for the collections in pages
Then the user can do so by modifying the ( the property value ) in portal property:
- search.container.page.max.delta
path to file: liferay-portal/portal-impl/src/portal.properties
-
Nb of items per page
When the Page creator wants to configure the nb of items per page
Then the Page Creator can select the number of items per page to be shown (by default 5 items per page):
- The number of intervalle is then calculated like this :
- formula: Nb intervalles = integer( Max ( total items, page.max.delta)/ nb of items per page)+1
- AND the Max items for collection is shown: 200 items maximum
-
Using the "Simple" pagination
When the User accesses to the Pagination elements on the page
Then the User can navigate through the pages using NEXT / PREVIOUS page buttons
-
Using the "Regular" pagination
When the User accesses to the Pagination on the page
Then the User can :
- click on a page number and the page displayed
- click on the next/previous buttons to switch pages
-
Test Scenarios
Test Scenarios | Test Strategy | Kind of test | Is it covered by FrontEnd ? (JS-Unit) | Is it covered by BackEnd ? (unit or integration) | Could it be covered by POSHI? |
---|---|---|---|---|---|
The user could navigate through pages in Collection Display with the Simple pagination | Critical | Manual | No | No | Yes |
The user could navigate through pages in Collection Display with the Numeric pagination | Critical | Manual | No | No | Yes |
The user could define the maximum of items per page in Collection Display | Critical | Manual | Yes | No | Yes |
The user could view warning message when defined value exceeds limitation | High | Manual | Yes | No | Yes |
The user could select Display All Collection Items in Collection Display with pagination | Critical | Manual | Yes | No | Yes |
Export/import of page definition takes into account new parameters for pagination | Critical | Manual | No | Yes | No |
Attachments
Issue Links
- relates
-
LPS-136744 LPS-123825 - Product QA | Test Automation Creation
-
- Closed
-
- Testing discovered
-
LPS-135483 Improve collection display performance
- Closed