Either save it in the dB. Current user saved filter settings

Or whenever filters are changed, save it in the URL. Then use that when going back. i.e. go back rather than go to page.

Fundamentally, the information of the filters needs to be captured somewhere

And then restored from that place.

Thanks
Zubair