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

Search portlet does not highlight matches in users results

    Details

      Description

      Search portlet is not highlighting coincidences if they are present in the users' field results. It only happens if the search hits are only users.

      Steps to reproduce the issue:

      1. Create an User, for example:

      1. screen Name: pepito
      2. email: pepitogrillo@liferay.com
      3. first name: pepito
      4. last name: grillo

      2. Create a basic Web Content named 'pepito'.

      3. Go to the search portlet and configure, within the Display tab, the scope of the search portlet to 'Everything':

      4. Enable, within the Other settings tab of the search portlet, the 'Enable Highlighting' option:

      5. Go to the search portlet and type 'pepito'.

      6. Check the results. ()

      7. Go to the search portlet and type 'grillo'.

      8. Check the results. ()

      ()
      Expected behaviuor:
           6. Web content pepito _and User _pepito grillo are listed. Both pepito coincidences are
               highlighted.

                   
           8. User pepito grillo is listed and the word _grillo _is highlighted.

                 

       Current behaviour:
           6. Web content pepito _and User _pepito grillo are listed. Both pepito coincidences are
               highlighted.

                  
           8. User pepito grillo is listed and the word grillo is not highlighted.

                 

        Attachments

        1. enable_highlighting.PNG
          enable_highlighting.PNG
          22 kB
        2. expected_result_2.PNG
          expected_result_2.PNG
          22 kB
        3. expected_result.PNG
          expected_result.PNG
          17 kB
        4. incorrect_result.PNG
          incorrect_result.PNG
          17 kB
        5. scope_everything.PNG
          scope_everything.PNG
          14 kB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 8 weeks ago

                Packages

                Version Package
                7.0.0 DXP FP32
                7.0.5 CE GA6
                7.0.X
                7.1.X
                Master