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

Unable to filter by categories or tags with Classic Search Widget enabled

Details

    Description

      Unable to filter by categories with Classic Search Widget enabled.
      It is able to filter by clicking on the categories list but not by clicking on the related categories of each result.

      Steps to reproduce

      1. Enable Classic Search Widget in Front Page at Control Panel -> Configuration -> System Settings -> Search -> Search Web
      2. Create a category: Categorization -> Categories -> Add Category
      3. Create a tag: Categorization -> Tag -> Add Tag
      4. Create a basic web content with content "Example text". Publish
      5. Create another basic web content with content "Example text" and select the created Category at step 2. Click on Publish
      6. Create another basic web content with content "Example text" and select the created Tag at step 3. Click on Publish
      7. Go to the main page a search for "Example".
        There will be three coincidences. One with a related category and one with tag and another without it.

      Observed behaviour
      Clicking on the category or tag must filter the results for only this category or tag selected but the same results is listed as before.

      Root cause:
      The links try to do a search, but they are not built with a correct syntax for it: they do not include the expected parameters name for the classic search "category" and "tag", changes done here:
      See https://github.com/brianchandotcom/liferay-portal/pull/73506/files

      Expected behavior
      Clicking on the category must filter the results for only this category.

      Attachments

        Issue Links

          Activity

            People

              brian.lee Brian Lee
              georgel.pop Georgel Vasile Pop
              Marta Elicegui Marta Elicegui
              Bryan Engler Bryan Engler
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 36 weeks, 6 days ago
                Development End Date:

                Packages

                  Version Package
                  7.1.10 DXP FP20
                  7.1.10.5 SP5
                  7.1.X
                  7.2.10 DXP FP9
                  7.2.X
                  7.3.5 CE GA6
                  7.3.10 DXP GA1
                  7.3.X
                  Master