Add html for default field to schema
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 16 Nov 2022 21:07:24 +0000 (10:07 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 16 Nov 2022 21:07:38 +0000 (10:07 +1300)
Note in the process I found that OptionValue.is_default is not required and LocationType.is_default
is not required and does not have a default

13 files changed:
xml/schema/Campaign/Survey.xml
xml/schema/Core/LocationType.xml
xml/schema/Core/MailSettings.xml
xml/schema/Core/MessageTemplate.xml
xml/schema/Core/OptionValue.xml
xml/schema/Core/PrintLabel.xml
xml/schema/Financial/FinancialAccount.xml
xml/schema/Financial/PaymentProcessor.xml
xml/schema/Financial/PaymentProcessorType.xml
xml/schema/Mailing/Component.xml
xml/schema/Member/MembershipStatus.xml
xml/schema/Price/PriceFieldValue.xml
xml/schema/SMS/Provider.xml

index 00a3cb74c41868186ca7d1dce45b7782f804b53b..52990e58780e36b9924eda8c7d3a39858bb3722b 100644 (file)
     <type>boolean</type>
     <default>0</default>
     <required>true</required>
+    <html>
+      <type>CheckBox</type>
+      <label>Default</label>
+    </html>
     <comment>Is this default survey?</comment>
     <add>3.3</add>
   </field>
index 833321031c8b57d128eab6035180f397bd5a3763..b6e4c9bf616c4ff3dcf69ce3ff60b5546475e8a8 100644 (file)
     <name>is_default</name>
     <title>Default Location Type?</title>
     <type>boolean</type>
+    <html>
+      <type>CheckBox</type>
+      <label>Default</label>
+    </html>
     <comment>Is this location type the default?</comment>
     <add>1.1</add>
   </field>
index 38833d69d7fb0a3673f3a0a7a594bcc959fc4870..30b9da7dfb973cf5c8b0ff65ac782a3e456dd332 100644 (file)
     <type>boolean</type>
     <default>0</default>
     <required>true</required>
+    <html>
+      <type>CheckBox</type>
+      <label>Default</label>
+    </html>
     <comment>whether this is the default set of settings for this domain</comment>
     <add>2.2</add>
   </field>
index 591c32fb36f6d926b337d7ddf004f3615f2987b0..1a32d36d16af10d5946eb1dd5b578d994b73ddb7 100644 (file)
     <type>boolean</type>
     <default>1</default>
     <required>true</required>
+    <html>
+      <type>CheckBox</type>
+      <label>Default</label>
+    </html>
     <comment>is this the default message template for the workflow referenced by workflow_id?</comment>
     <add>3.1</add>
   </field>
index 87dfc45a3e3c17dba956f1dfd3a21c50e2adc196..523d507f34b88c63092d0e4022ad17463041710a 100644 (file)
     <title>Option is Default?</title>
     <type>boolean</type>
     <default>0</default>
+    <html>
+      <type>CheckBox</type>
+      <label>Default</label>
+    </html>
     <comment>Is this the default option for the group?</comment>
     <add>1.5</add>
   </field>
index 37b44e685d76bb442ab9ab406a88c8416b0b8905..67c51e7e6cf64557b75aa458199d7dcef737aaaf 100644 (file)
     <type>boolean</type>
     <default>1</default>
     <required>true</required>
+    <html>
+      <type>CheckBox</type>
+      <label>Default</label>
+    </html>
     <comment>Is this default?</comment>
     <add>4.4</add>
   </field>
index c04aaa42ca41ed6a064edc08b78dba34bab462eb..c2005ddf6d3c6aa8991ef76ac7ef33a295b3010e 100644 (file)
     <comment>Is this account the default one (or default tax one) for its financial_account_type?</comment>
     <default>0</default>
     <required>true</required>
+    <html>
+      <type>CheckBox</type>
+      <label>Default</label>
+    </html>
     <add>4.3</add>
   </field>
   <index>
index f4160320254bd361f1ce9565b0aef58dfee272d6..40bd71868a5c637c7977a0cc0f4d558b7b1ecf14 100644 (file)
     <name>is_default</name>
     <title>Processor Is Default?</title>
     <type>boolean</type>
-    <comment>Is this processor the default?</comment>
-    <add>1.8</add>
     <default>0</default>
     <required>true</required>
+    <html>
+      <type>CheckBox</type>
+      <label>Default</label>
+    </html>
+    <comment>Is this processor the default?</comment>
+    <add>1.8</add>
   </field>
   <field>
     <name>is_test</name>
index f4795f27a5d42e0941a3b18c7effd10416f160bc..149134ea124f6017f2aaad4e4addae681692eb68 100644 (file)
     <type>boolean</type>
     <default>0</default>
     <required>true</required>
+    <html>
+      <type>CheckBox</type>
+      <label>Default</label>
+    </html>
     <comment>Is this processor the default?</comment>
     <add>1.8</add>
   </field>
index 9b19432fdaa1114c24c3641d3bd505dd1abda942..e077a8b98b54ee209b26938933c7aad798fbe5f7 100644 (file)
     <type>boolean</type>
     <default>0</default>
     <required>true</required>
+    <html>
+      <type>CheckBox</type>
+      <label>Default</label>
+    </html>
     <comment>Is this the default component for this component_type?</comment>
   </field>
   <field>
index 75157357cfd9a7ddb73f8ade1fd6c55c6fe523ad..8ebc0ac4dcd7036c26ba98991e59b0d133aeca6b 100644 (file)
     <required>true</required>
     <html>
       <type>CheckBox</type>
+      <label>Default</label>
     </html>
     <comment>Assign this status to a membership record if no other status match is found.</comment>
     <add>1.5</add>
index 4b56bd90e957830060ad7c16a1e2a77c04e2bb68..9375b009ab2d485cac7ca658c55f8925d5971561 100644 (file)
     <comment>Is this default price field option</comment>
     <default>0</default>
     <required>true</required>
-    <add>3.3</add>
     <html>
       <type>CheckBox</type>
+      <label>Default</label>
     </html>
+    <add>3.3</add>
   </field>
   <field>
     <name>is_active</name>
index 29cef8c7be4be26a3a6b1013a3112182b253d732..f33a94d2ac1e4cf16a9c53c9a8bafb189cf03e63 100644 (file)
     <type>boolean</type>
     <default>0</default>
     <required>true</required>
-    <add>4.2</add>
     <html>
       <type>CheckBox</type>
+      <label>Default</label>
     </html>
+    <add>4.2</add>
   </field>
   <field>
     <name>is_active</name>