-
-
Notifications
You must be signed in to change notification settings - Fork 814
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
Fix notices on event settings form #13027
Conversation
(Standard links)
|
5eadd1f
to
1672190
Compare
@eileenmcnaughton checkstyle and conflicting file |
1672190
to
5737ee6
Compare
5737ee6
to
7e7154e
Compare
7e7154e
to
f5e8cb7
Compare
test this please |
1 similar comment
test this please |
@seamuslee001 OMG OMG - tests finally got through on this! |
*/ | ||
public static function getDashboardEntriesCount() { | ||
$optionValues = []; | ||
$optionValues[-1] = ts('show all'); |
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.
@eileenmcnaughton why not just empty value here?
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.
So given I needed to key by -1 for later handling then I couldn't get it to pass style warnings by just declaring the array - it wanted a space between the minus and the 1
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.
(using -1 is a bit dumb but that is what is currently handled when this setting is used)
Its strange having show all as a negative number but i checked the usage in (CiviCRM Review Template WORD-1.1) |
Merging |
thanks @seamuslee001 |
Overview
Per #13023 fix recent spawning of e-notice on preferences forms by pushing through to cleaning them up fully
Before
After
Technical Details
details in #13023 but note that I altered the handing of 'Dashboard entries' as it incorrectly made it seem optional. The setting is used to determine how many events to show on the events dashboard.
Comments