Fix returning to a smart group search after adding an activity.

The previous fix for this did not include the civicrm/group/search url
in the list of possible urls to return to; thus smart groups were still
broken for this workflow.
Signed-off-by: default avatarToke Høiland-Jørgensen <toke@toke.dk>
parent c17c572d
......@@ -418,7 +418,8 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
if ($this->_compContext == 'advanced' ) {
$urlString = 'civicrm/contact/search/advanced';
}
elseif ($path == 'civicrm/contact/search'
elseif ($path == 'civicrm/group/search'
|| $path == 'civicrm/contact/search'
|| $path == 'civicrm/contact/search/advanced'
|| $path == 'civicrm/contact/search/custom') {
$urlString = $path;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment