Skip to content
Snippets Groups Projects
Unverified Commit d2a02b26 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #20031 from colemanw/searchKitFlushCache

SearchKit - Flush Angular cache when saving
parents 1dd42921 7ec684ff
Branches
Tags
No related merge requests found
......@@ -362,6 +362,11 @@ LEFT JOIN civicrm_email ON (contact_a.id = civicrm_email.contact_id AND civicrm_
}
$params['modified_id'] = $loggedInContactID;
}
// Flush angular caches to refresh search displays
if (isset($params['api_params'])) {
Civi::container()->get('angular')->clear();
}
return self::writeRecord($params);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment