Skip to content

Commit

Permalink
Merge pull request #24762 from totten/master-have-titles
Browse files Browse the repository at this point in the history
SearchKit, Afform - Fix titles on "id" fields
  • Loading branch information
eileenmcnaughton authored Oct 17, 2022
2 parents b6ddf30 + 95ac3fa commit 5c89057
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ext/afform/core/CRM/Afform/DAO/AfformSubmission.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from org.civicrm.afform/xml/schema/CRM/Afform/AfformSubmission.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:b7fb038bdf54aaf91859c3d455dd8756)
* (GenCodeChecksum:dd7d40185eee992de1528f12c924a8dd)
*/
use CRM_Afform_ExtensionUtil as E;

Expand Down Expand Up @@ -116,6 +116,7 @@ public static function &fields() {
'id' => [
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => E::ts('Form Submission ID'),
'description' => E::ts('Unique Submission ID'),
'required' => TRUE,
'where' => 'civicrm_afform_submission.id',
Expand Down
1 change: 1 addition & 0 deletions ext/afform/core/xml/schema/CRM/Afform/AfformSubmission.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

<field>
<name>id</name>
<title>Form Submission ID</title>
<type>int unsigned</type>
<required>true</required>
<comment>Unique Submission ID</comment>
Expand Down
3 changes: 2 additions & 1 deletion ext/search_kit/CRM/Search/DAO/SearchSegment.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from org.civicrm.search_kit/xml/schema/CRM/Search/SearchSegment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:b347dd437336ecd5880d5924b879d218)
* (GenCodeChecksum:0776e800d97560d2b49c54bb581959c6)
*/
use CRM_Search_ExtensionUtil as E;

Expand Down Expand Up @@ -128,6 +128,7 @@ public static function &fields() {
'id' => [
'name' => 'id',
'type' => CRM_Utils_Type::T_INT,
'title' => E::ts('Search Segment ID'),
'description' => E::ts('Unique SearchSegment ID'),
'required' => TRUE,
'where' => 'civicrm_search_segment.id',
Expand Down
1 change: 1 addition & 0 deletions ext/search_kit/xml/schema/CRM/Search/SearchSegment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

<field>
<name>id</name>
<title>Search Segment ID</title>
<type>int unsigned</type>
<required>true</required>
<comment>Unique SearchSegment ID</comment>
Expand Down

0 comments on commit 5c89057

Please sign in to comment.