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

Searching by a specific location that has "United" in the proper name will return all locations that have "United" in the proper name

    Details

      Description

      Issue: Searching by a specific location that has "United" in the proper name will return all locations that have "United" in the proper name. For instance, if I search for United Kingdom, results for United Arab Emirates and United States will return in the search results.

      Steps to Reproduce:
      1. Navigate to Control Panel > Users and Organizations
      2. Select Add > Regular Organization
      3. Name it UK Test and Save it.
      4. Navigate back to Users and Organizations
      5. Select "Actions" > Add Location for UK Test
      6. In the form that opens, enter the following:

      Name: UK Test Loc
      Type: Location
      Country: United Kingdom

      7. Select Save
      8. Follow steps 3-10, but this time create the Location for the United States or the United Arab Emirates.
      9. Once the two locations are created, navigate to Control Panel > Users and Organizations
      10. Select "Search All Organizations" and select "Advanced" search
      11. Under the Country Dropdown, select United Kingdom
      12. Select Search

      Expected Result: Only UK Test Loc returns in the Search Results
      Actual Result: UK Test Loc returns along with the Locations in the United States and United Arab Emirates.

        Attachments

        1. fix-61.png
          fix-61.png
          23 kB
        2. fix-master.png
          fix-master.png
          14 kB
        3. reproduce.png
          reproduce.png
          19 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 44 weeks ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.X EE
                  7.0.0 M1