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

Search portlet shows different values for hits.getLength() when paging

    Details

      Description

      Reproduction steps:
      1. Add 31 web contents with the same keyword
      2. Modify main_search.jspf with a hook to log
      the number of hits (hits.getLength()) and
      the query used to search (hits.getQuery().toString())
      3. Search for the keyword
      RESULT1: "hits: 41" was logged
      4. Switch to the second page of the results
      RESULT2: "hits: 31" was logged

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sharry.shi Sharry Shi
              Reporter:
              gabor.pusoma Gabor Pusoma (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 42 weeks ago

                  Packages

                  Version Package
                  6.1.X EE