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

Changes to Header Search Bar preferences have no effect unless made again to second Search Bar in Search Page

    Details

      Description

      Steps to reproduce

      1. Use Header Search Bar to perform a search - will be sent to Search Page where results are displayed
      2. Still in Search Page, change preferences of Header Search Bar: Scope -> "Everything", Keywords parameter name -> "keywords"
      3. Still in Search Page, use Header Search Bar again to perform a search and examine new results

      Observed

      Search is seemingly still performed using the old preferences. ("This site", "q")

      The preferences are actually coming from the second Search Bar at the Search page body. Must configure its preferences as well, duplicating values from the Header Search Bar, before search can be performed as expected.

      Also, any further changes require configuring preferences in two places again.

      Expected

      Search is performed using the new Header Search Bar preferences, with no need for extra configuration.

      Any further changes only require configuring preferences once, at the Header Search Bar.

      Specification

      ("Primary Search Page" is defined herein as the "destination" configured at the Header Search Bar. The default is "/search", the standard Search Page.)

      When in the "Primary Search Page", a search from the Header Search Bar will land at the same "Primary Search Page" and honor the Header Search Bar's preferences; a search from a Search Bar in the "Primary Search Page" body will ignore its own preferences and use the Header Search Bar's preferences.

      When in any page other than the "Primary Search Page", a search from a Search Bar in the page body will land at its configured "destination", and honor its own preferences; a search from the Header Search Bar will land at the "Primary Search Page" and honor the Header Search Bar's preferences.

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 20 weeks, 4 days ago

                  Packages

                  Version Package
                  7.1.1 CE GA2
                  7.1.X
                  Master