Skip to content

Commit

Permalink
Merge pull request #22912 from eileenmcnaughton/group
Browse files Browse the repository at this point in the history
Add action links for group.
  • Loading branch information
yashodha authored Mar 9, 2022
2 parents b89380e + 5c2ba7c commit b5b3c5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CRM/Contact/DAO/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/Group.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:f5efc579d0d67d8922a405a208cf83c3)
* (GenCodeChecksum:b58b83a311a0a9a7cd2350b452d2ca9a)
*/

/**
Expand Down Expand Up @@ -51,6 +51,9 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO {
*/
protected static $_paths = [
'add' => 'civicrm/group/add?reset=1',
'view' => 'civicrm/group/search?force=1&context=smog&gid=[id]&component_mode=1',
'update' => 'civicrm/group?reset=1&action=update&id=[id]',
'delete' => 'civicrm/group?reset=1&action=delete&id=[id]',
];

/**
Expand Down
3 changes: 3 additions & 0 deletions xml/schema/Contact/Group.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<labelField>title</labelField>
<paths>
<add>civicrm/group/add?reset=1</add>
<view>civicrm/group/search?force=1&amp;context=smog&amp;gid=[id]&amp;component_mode=1</view>
<update>civicrm/group?reset=1&amp;action=update&amp;id=[id]</update>
<delete>civicrm/group?reset=1&amp;action=delete&amp;id=[id]</delete>
</paths>
<field>
<name>id</name>
Expand Down

0 comments on commit b5b3c5b

Please sign in to comment.