When an Admin edits or views an agent in the Agent List table or any role in the User List table that is in any page other than page 1, the user is directed back to page 1 instead of the last page they were on.
Expected Behavior
I would expect that if I edited or viewed an agent or user role, for example, in page 3, once I am done editing or viewing that agent or user role, I should be taken back to page 3 of the Agent List or User List table so that I don't have to find the place I left off on.
Steps to Reproduce Issue
Login as Administrator
In the Agent List page, navigate to any available page other than page 1
Pick an agent and either view or edit that agent
If viewing the agent, click on the "Back to Agent List" link. If editing the agent, click on the "Save" button after editing the agent.
Notice the Admin User is taken back to page 1 of the Agent List table.
The same repro steps can be taken in the User List table/page.
Environment
All Devices All OS All Browsers
Description
When an Admin edits or views an agent in the Agent List table or any role in the User List table that is in any page other than page 1, the user is directed back to page 1 instead of the last page they were on.
Expected Behavior
I would expect that if I edited or viewed an agent or user role, for example, in page 3, once I am done editing or viewing that agent or user role, I should be taken back to page 3 of the Agent List or User List table so that I don't have to find the place I left off on.
Steps to Reproduce Issue
Screenshots
https://user-images.githubusercontent.com/93185140/202301673-4105b25a-8655-4d95-9ddd-3481e41f0f0e.mov
Note:
The same behavior was found when logged in as 'User' role in the Agent List table.