Within my Angular site, there is a page that allows users to run reports based on various criteria such as employee ID, event ID, from date, to date, and more. Once the user selects the parameters for their report and clicks submit, they are shown search results matching their criteria on the same page. From there, they can choose a result to view more detailed information.
The issue arises when users click the back button after viewing a detail page because they are redirected to the '/reports' URL without any of their previous search parameters or results saved. I am seeking a "best practices" solution for preserving the state of the page before they clicked on a specific result (e.g. '/reports?employeeId=2&eventId=7').