Merge pull request #8861 from danbrellis/patch-1
[civicrm-core.git] / xml / schema / Contact / SavedSearch.xml
index 680ccbac872e2e8378740f8ce2201d003d2f008f..f35330c73cf9a9840eefab0d0b58ee18498993af 100644 (file)
@@ -7,74 +7,81 @@
   <comment>Users can save their complex SQL queries and use them later.</comment>
   <add>1.1</add>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Saved search ID</comment>
-       <add>1.1</add>
+    <name>id</name>
+    <type>int unsigned</type>
+    <title>Saved Search ID</title>
+    <required>true</required>
+    <comment>Saved Search ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>false</autoincrement>
+    <name>id</name>
+    <autoincrement>false</autoincrement>
   </primaryKey>
   <field>
-       <name>query</name>
-       <title>SQL Query</title>
-       <type>text</type>
-       <import>true</import>
-       <comment>SQL query for this search</comment>
-       <add>1.1</add>
-       <drop>1.5</drop>
+    <name>query</name>
+    <title>SQL Query</title>
+    <type>text</type>
+    <import>true</import>
+    <comment>SQL query for this search</comment>
+    <add>1.1</add>
+    <drop>1.5</drop>
   </field>
   <field>
-       <name>form_values</name>
-       <title>Submitted Form Values</title>
-       <type>text</type>
-       <import>true</import>
-       <comment>Submitted form values for this search</comment>
-       <add>1.1</add>
+    <name>form_values</name>
+    <title>Submitted Form Values</title>
+    <type>text</type>
+    <import>true</import>
+    <comment>Submitted form values for this search</comment>
+    <add>1.1</add>
   </field>
-<field>
-       <name>is_active</name>
-       <type>boolean</type>
-       <comment>Is this entry active?</comment>
-       <add>1.1</add>
-       <drop>1.5</drop>
+  <field>
+    <name>is_active</name>
+    <type>boolean</type>
+    <title>Saved Search Enabled</title>
+    <comment>Is this entry active?</comment>
+    <add>1.1</add>
+    <drop>1.5</drop>
   </field>
   <field>
-       <name>mapping_id</name>
-       <type>int unsigned</type>
-       <comment>Foreign key to civicrm_mapping used for saved search-builder searches.</comment>
-       <add>1.5</add>
+    <name>mapping_id</name>
+    <type>int unsigned</type>
+    <title>Mapping ID</title>
+    <comment>Foreign key to civicrm_mapping used for saved search-builder searches.</comment>
+    <add>1.5</add>
   </field>
   <foreignKey>
-       <name>mapping_id</name>
-       <table>civicrm_mapping</table>
-       <key>id</key>
-       <add>1.5</add>
+    <name>mapping_id</name>
+    <table>civicrm_mapping</table>
+    <key>id</key>
+    <add>1.5</add>
   </foreignKey>
   <field>
-       <name>search_custom_id</name>
-       <type>int unsigned</type>
-       <comment>Foreign key to civicrm_option value table used for saved custom searches.</comment>
-       <add>2.0</add>
+    <name>search_custom_id</name>
+    <type>int unsigned</type>
+    <title>Option Value ID</title>
+    <comment>Foreign key to civicrm_option value table used for saved custom searches.</comment>
+    <add>2.0</add>
   </field>
   <field>
-       <name>where_clause</name>
-       <type>text</type>
-       <comment>the sql where clause if a saved search acl</comment>
-       <add>1.6</add>
+    <name>where_clause</name>
+    <type>text</type>
+    <title>Where Clause</title>
+    <comment>the sql where clause if a saved search acl</comment>
+    <add>1.6</add>
   </field>
   <field>
-       <name>select_tables</name>
-       <type>text</type>
-       <comment>the tables to be included in a select data</comment>
-       <add>1.6</add>
+    <name>select_tables</name>
+    <type>text</type>
+    <title>Select Tables</title>
+    <comment>the tables to be included in a select data</comment>
+    <add>1.6</add>
   </field>
   <field>
-       <name>where_tables</name>
-       <type>text</type>
-       <comment>the tables to be included in the count statement</comment>
-       <add>1.6</add>
+    <name>where_tables</name>
+    <type>text</type>
+    <title>Where Tables</title>
+    <comment>the tables to be included in the count statement</comment>
+    <add>1.6</add>
   </field>
 </table>