Send receipt for contribution in contact dashboard redirects to advanced search
Overview
When sending a receipt for a contribution in the contact dashboard it submits the receipt successfully and redirects to the search page with a notice on the top right saying "Because your session timed out, we have reset the search page." I tested on Civicrm Demo site as well and saw it on a number of versions starting from 5.53
Reproduction steps
- Click on Contacts
- Go to contributions Tab
- Send a receipt to an existing contribution
- Email is sent but it redirects to advanced search page with notice about Session timeout
Expected behaviour
Receipt dialog box should close with success message