Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.0.X EE, 6.1.X EE, 6.2.0 CE M3
-
Component/s: Search, Search > Search Portlet
-
Labels:
-
Environment:Liferay 6.0.12
Not reproducible in trunk.
-
Branch Version/s:6.1.x, 6.0.x
-
Backported to Branch:Committed
-
Similar Issues:
Description
Using the search portlet display wrong total results for Document Library, Blogs and Message Boards.
Steps to reproduce:
1. Set the property search.container.page.default.delta=5 to make eassier the test.
2. Add 12 text documents containing the word "prueba".
3. Add 12 blogs entries containing the text "prueba" in the body.
4. Add 12 message boards containing the text "prueba".
5. Add 12 web content / bookmarks / wiki pages / ... / containing the text "prueba"
6. Add to a page the Search Portlet and search by the word "prueba".
Result of the search:
11 Documents, 11 Blog entries, 11 Message Boards, 12 WebContent (see 1.png)
If you navigate over the pagination of documents, total is changed to 16 (see 2.png), and 12 for the last page of results (see 3.png)
This behavior is the same for blog entries and message boards, but not with the other types of searched contents.
Issue Links
- causes
-
LPS-31491
Misprint: "]" instead of ")" in search portlet total results
-

It's not possible to calculate the total of some types of asset, for improve reasons are processing until the current page.
The error is to display the incorrect data as total results.