Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-4308

ATLAS UI Audit sorting : When consecutive Entity Audits are fired, sorting happens on the previous sorted results received from the server

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Attaching 2 screenshots where following was done
       
      1)sort by action + sort by user (sort by action is done and on top of that result , sort by user is done)
      2)sort by user (only sort by user is done)
       
      The results are different on UI. 
       
      The query for  :
      1) is 
      a) /api/atlas/v2/entity/0efb15b7-d4cc-4bcc-87d1-bee41d1baae5/audit?sortOrder=asc&offset=0&count=25&sortBy=action 
      b) /api/atlas/v2/entity/0efb15b7-d4cc-4bcc-87d1-bee41d1baae5/audit?sortOrder=asc&offset=0&count=25&sortBy=user
       
      2) is 
      a) /api/atlas/v2/entity/0efb15b7-d4cc-4bcc-87d1-bee41d1baae5/audit?sortOrder=asc&offset=0&count=25&sortBy=user
       
      1.b happens on the result of 1.a which is not expected.
       
      1.b should be equal to 2.a

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            prasadpp13 Prasad P. Pawar
            prasadpp13 Prasad P. Pawar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment