Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.2.0 CE M4
-
Fix Version/s: 6.2.0 CE M4
-
Component/s: Tools, Tools > Portal Taglibs
-
Similar Issues:
Description
This is a persistent error all arround the portal.
When you delete the last element in a search-container with pagination it seems to be no more elements even if there are.
The solution is to set call to setTotal before calling the list method, but currently if you use the search-container-results attributes (result and total) it's impossible.
Issue Links
- is related to
-
LPS-32746
Fix pagination issues in search container taglib
-

The changes are compatible with the old pattern (set the total in the search-container-results tag via attribute)
I've added a second commit where an example of how the fix works could be seen.
1 . Add documents and media display
2 . Goto to options>configuration and check the Show navigation links option
3 . Select 5 documents per Page and save.
4 . Add 6 documents
5 . Click on HOME
5.b. Go to the second page and erase the document --> The search containers seems to be empty
6 . Add again the document and go to the recent link
6.b. Go to the second page and erase the document --> The search container goes to the default cur page (first page)