Syncing AWS SSO sessions doesn't remember session sorting order if session list is updated
Describe the bug Using AWS SSO integration and having a list of sessions either in All Sessions or Pinned view and sorted them by Session column, refreshing sessions from AWS SSO integration and having incoming session changes makes list go unordered even though list header still shows that list should be sorted by Session column.
Leapp Version 0.17.4
To Reproduce Steps to reproduce the behavior:
- Add AWS SSO integration with several sessions
- Order All Sessions view by Session column by clicking session list's Session-header
- Make changes with AWS SSO (Identity Center) and remove access to some account from yourself
- Open integration context menu and select sync
- Wait until sync is done and observe how session ordering changes
Expected behavior Sessions should be ordered as they were before syncing
Screenshots
Desktop (please complete the following information):
- OS: MacOS
- OS Version: Ventura 13.3
- Leapp Version: 0.17.4
Additional context
Hi Sami, and thanks for the Bug! Which ordering where you using when you Synced AWS SSO?
Sessions were sorted by the session name ascending.
pe 7.4.2023 klo 12.08 Andrea Cavagna @.***> kirjoitti:
Hi Sami, and thanks for the Bug! Which ordering where you using when you Synced AWS SSO?
— Reply to this email directly, view it on GitHub https://github.com/Noovolari/leapp/issues/403#issuecomment-1500098730, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASL7X7ZTBHCQ33M3XWIIQFLW77KQLANCNFSM6AAAAAAWNJM7KA . You are receiving this because you authored the thread.Message ID: @.***>
--
-- Best Regards, Sami Oksanen Wingnut Services
Thanks!