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

"Time" facet of web search portlet does not highlight "Any time" option when selected

    Details

      Description

      Master/7.1.x: Will be fixed as part of LPS-74277 (and its related tasks), the new story for the Modified Facet


      "Time" facet of web search portlet does not highlight "Any time" option when it is selected from the second time.

      Steps to reproduce:

      • Create some content to search for it later.
      • Search, from the main page search portlet, the content previously created.
      • Check the Time 'Any time' option is selected (text-primary) by default: 
      <li class="default facet-value"> <a href="javascript:;" class="text-primary"> Any Time </a> </li>
      • Select 'Past hour' option.
      • Check now 'Any time' is not primary:
      <li class="default facet-value"> <a href="javascript:;" class="text-default"> Any Time </a> </li>
      • Select 'Any time' option again.

       

      Expected result :

      'Any time' is text-primary again 

      7.0.x -> 'Any time' is highlighted.

      Current result :

      'Any time' is text-default from now on, no matter if it is selected or not, so that this option is no longer highlighted (7.0.x).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  1 year, 13 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP47
                  7.0.0 DXP SP8
                  7.0.X