Merge pull request #22886 from demeritcowboy/contributionview-notice3
[civicrm-core.git] / xml / schema / Contact / Group.xml
index 5be873cd8f66dc62e36dddd8d4ac0797d0b3bb0c..945c805cf2de3a0774ead8f5953bfd16bce0444c 100644 (file)
@@ -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>
@@ -82,7 +85,7 @@
     <table>civicrm_saved_search</table>
     <key>id</key>
     <add>1.1</add>
-    <onDelete>SET NULL</onDelete>
+    <onDelete>CASCADE</onDelete>
   </foreignKey>
   <field>
     <name>is_active</name>
     <type>text</type>
     <title>Group Where Clause</title>
     <comment>the sql where clause if a saved search acl</comment>
+    <readonly>true</readonly>
     <add>1.6</add>
   </field>
   <field>
     <type>text</type>
     <title>Tables For Select Clause</title>
     <comment>the tables to be included in a select data</comment>
+    <readonly>true</readonly>
     <serialize>PHP</serialize>
     <add>1.6</add>
   </field>
     <type>text</type>
     <title>Tables For Where Clause</title>
     <comment>the tables to be included in the count statement</comment>
+    <readonly>true</readonly>
     <serialize>PHP</serialize>
     <add>1.6</add>
   </field>
     <type>timestamp</type>
     <title>Group Cache Date</title>
     <required>false</required>
+    <readonly>true</readonly>
     <comment>Date when we created the cache for a smart group</comment>
     <add>2.1</add>
   </field>
     <type>timestamp</type>
     <title>Next Group Refresh Time</title>
     <required>false</required>
+    <readonly>true</readonly>
     <comment>Date and time when we need to refresh the cache next.</comment>
     <add>4.3</add>
   </field>
     <html>
       <label>Modified By</label>
     </html>
+    <readonly>true</readonly>
     <add>4.5</add>
   </field>
   <foreignKey>