-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev/core#5725 ScheduledCommunications - Increase length of fields used by SearchKit #32054
dev/core#5725 ScheduledCommunications - Increase length of fields used by SearchKit #32054
Conversation
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
The issue associated with the Pull Request can be viewed at https://lab.civicrm.org/dev/core/-/issues/5725 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @colemanw! Could be merged as-is but I have a question and suggestion.
@@ -152,7 +152,7 @@ | |||
], | |||
'start_action_date' => [ | |||
'title' => ts('Start Action Date'), | |||
'sql_type' => 'varchar(64)', | |||
'sql_type' => 'varchar(255)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This column gets used for SearchKit-generated field aliases, which can get quite lengthy. 255 will probably be long enough, but why chance it? I was thinking something like 2048.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. I've updated it.
'title' => ts('Start Action Date'), | ||
'sql_type' => 'varchar(255)', | ||
'input_type' => 'Select', | ||
'description' => ts('Entity date'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a big deal (it's just the upgrader), but why 'Entity date' instead of 'Start Action Date'?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really sure. All these columns are multipurpose depending on the entity selected so maybe this was trying to be super generic.
fca3de8
to
ee34152
Compare
I might have targetted 6.0 for this - although it seems to be not technically a regression if feels like it 'should' work in 6.0 |
ee34152
to
d726b06
Compare
… for communications Fixes dev/core#5725
d726b06
to
4040cc6
Compare
@eileenmcnaughton ok rebased |
@civicrm-builder retest this please |
The other failure is |
agree those are unrelated |
Overview
Fixes dev/core#5725