Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-70782

Specifying a label on Livesearch macro does not affect results from both the dropdown search results preview and the See more results for option

    XMLWordPrintable

Details

    Description

      Issue Summary

      Specifying a label on Livesearch macro does not affect results from both the dropdown search results preview and the See more results for option

      When a user sets the search parameters within the macro to be restricted to a specific label, the results shown in the preview within the dropdown are incorrect.

      If the user clicks show more the results are also incorrect.

      However, if the user presses the enter/return key to send the search, the results show on the search page are correct.

      In the first video, you can see the incorrect behavior in both the preview and the full search page:

       

      Here, in the second video you can see the expected results by pressing the enter/return key:

         

      By looking at the second video, you can see that the label value is only passed through to the search when pressing enter/return.

       

      Steps to Reproduce

      1. Create pages
      2. Add a label to those pages
      3. Create a new page
      4. Place a Livesearch macro in it
      5. Limit the search scope to content containing the label you created earlier
      6. Save the macro
      7. Publish the page
      8. Search for the pages you created earlier for this test

      Expected Results

      Only the content with the label will show in the preview and the "See more results for" option

      Actual Results

      Any content with the search string will show up

      Workaround

      Instead of relying on the preview or the "See more results for" option, press enter/return to be redirected into the full search page.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              drodrigues@atlassian.com Diego (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: