Skip to content

Commit

Permalink
civicrm#4360 civicrm#4384 fixing multiple regressions with legacy pat…
Browse files Browse the repository at this point in the history
…h civicrm/contact/search
  • Loading branch information
samuelsov committed Jun 26, 2023
1 parent c0a3d0e commit 9f7ef7a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ext/civicrm_admin_ui/ang/afsearchContactSearch.aff.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"type": "search",
"title": "Find Contacts",
"icon": "fa-list-alt",
"server_route": "civicrm/contact/search",
"server_route": "civicrm/adminui/contact/search",
"permission": "access CiviCRM",
"navigation": null,
"requires": [],
Expand Down
26 changes: 26 additions & 0 deletions ext/civicrm_admin_ui/managed/SavedSearch_Contact_Search.mgd.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,32 @@
use CRM_CivicrmAdminUi_ExtensionUtil as E;

return [
// using a temporary alternate path to avoid breaking legacy path
[
'name' => 'Navigation_Find_Contacts',
'entity' => 'Navigation',
'cleanup' => 'unused',
'update' => 'unmodified',
'params' => [
'version' => 4,
'values' => [
'domain_id' => 'current_domain',
'label' => E::ts('Find Contacts'),
'name' => 'Find Contacts',
'url' => 'civicrm/adminui/contact/search',
'icon' => NULL,
'permission' => NULL,
'permission_operator' => '',
'parent_id.name' => 'Search',
'is_active' => TRUE,
'has_separator' => NULL,
'weight' => 1,
],
'match' => [
'name',
],
],
],
[
'name' => 'SavedSearch_Find_Contacts',
'entity' => 'SavedSearch',
Expand Down

0 comments on commit 9f7ef7a

Please sign in to comment.