On Language prefix url setup in D8 or D7, custom searches doesn't respect the language prefix after form submission
Steps to replicate:
- Go to any existing or new custom search on any of the enabled language mod say French. The url will be https://www.example.com/fr/civicrm/contact/search/custom?csid=8&reset=1
- Simply submit the form.
Result : Reloads to https://www.example.com/civicrm/contact/search/custom?_qf_Custom_display=true&qfKey=16af65d8c7fd031923c056632ed145ce_3600 (The language prefix fr
is missing)
Expected : Should reload to https://www.example.com/fr/civicrm/contact/search/custom?_qf_Custom_display=true&qfKey=16af65d8c7fd031923c056632ed145ce_3600