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

Advanced search on Audit portlet displays wrong end date

    Details

      Description

      Summary
      In Audit advanced search, the end date switches back incorrectly to the start date after the search. This gives the false impression as if the filtered results were from that single day.

      Steps to reproduce
      1) in portal-ext, set:
      audit.message.com.liferay.portal.kernel.model.Layout.VIEW=true
      setup.wizard.enabled=false
      2) startup DXP 7.0 (de-91)
      3) login as default admin
      4) generate 6 audit events
      (eg. by visiting localhost:8080 6 times in the authenticated session)
      5) visit Audit portlet and set its pagination to 5
      6) open advanced search
      7) set the start date field to 01/01/2020, leave the end date on the current date
      8) Click on search
      Actual result: the end date is shown with the value of the start date (PFA screenshot)
      Expected result: the end date does not change
      8) (optional) clicking on Next or Last page, the end date is shown correctly

      Reproduced on:
      7.0 (de-91)
      7.0.x private, commit 1d461a26fb1906d5fdb2333484c753580b258d58

      Additional notes:
      The results themselves are ok: they are from the requested timeframe.

        Attachments

          Activity

            People

            Assignee:
            norbert.nemeth Norbert Németh
            Reporter:
            norbert.nemeth Norbert Németh
            Participants of an Issue:
            Recent user:
            Norbert Németh
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Days since last comment:
              37 weeks, 2 days ago

                Packages

                Version Package