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

Facets do not filter out content from empty search

    Details

      Description

      Prerequisites

      This bug can only be reproducible once LPS-80940 is fixed.

      Description

      If one enables empty search (as implemented by LPS-80940) and then try to filter the results by selecting facet options, the result listing will not filter out content excluded by the facets.

      If one adds more than six ranges in the Modifed Facet Portlet configuration, only the first six one will be listed.

      Steps to reproduce

      1. Start up portal; login as admin.
      2. Go to Liferay > Content > Blogs.
      3. Click in the "+" button.
      4. Enter the title "test" for the blog entry; add content to other fields.
      5. Go to search page (http://localhost:8080/web/guest/search).
      6. Hover "Search Results" header; click in Configuration.
      7. Check on the "Enable empty search option." Save.
      8. Reload the page.
      9. Observe that all portal content is listed, including the blog post.
      10. In the "Type Facet" at the left, check the "Blogs Entry" option.

      Expected results

      • After last step, only the blog entry would be listed.

      Actual results

      • All content is listed, regardless of its type.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joshua.chong Joshua Chong
                Reporter:
                adam.brandizzi Adam Brandizzi
                Participants of an Issue:
                Recent user:
                Joshua Chong
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 26 weeks, 2 days ago

                  Packages

                  Version Package