Improvements and bugfixes to Option Groups UI
Bugfix: Allow saving of new option value with value = 0.
PR (MERGED): https://github.com/civicrm/civicrm-core/pull/12229
Additional fields on OptionGroup list This adds Enabled/Reserved columns to list and puts buttons at the top as well.
PR: https://github.com/civicrm/civicrm-core/pull/12233
Resolve issues with use of "is_reserved" database field As the is_reserved flag is not being shown in the UI, and is not editable from the UI it has not been used for anything in core even though it is there.
A common use-case is adding an option group and then adding a set of custom fields that use that option group (eg. for surveys) but that is currently not possible via the UI because the query that looks for available option groups is looking ONLY for option groups that are already linked to custom fields - a catch 22!