Skip to content
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/#152 - AdvMulti-Select cleanup #531

Merged
merged 1 commit into from
Jun 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/views/civicrm.views.inc
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ function civicrm_views_get_field($data_type, $html_type = NULL) {
// Relying on html types as opposed to data types seems like a code smell.
// Would love to be able to remove this logic.
$customHTMLTypes = array(
'Select', 'Multi-Select', 'AdvMulti-Select', 'Radio', 'CheckBox',
'Select', 'Multi-Select', 'Radio', 'CheckBox',
'Select State/Province', 'Select Country', 'Multi-Select Country',
'Multi-Select State/Province', 'Autocomplete-Select',
);
Expand Down Expand Up @@ -563,7 +563,7 @@ function civicrm_views_get_filter($data_type, $html_type = NULL, $option_group_i
// Relying on html types as opposed to data types seems like a code smell.
// Would love to be able to remove this logic.
$customMultiValueHTMLTypes = array(
'Multi-Select', 'AdvMulti-Select', 'CheckBox', 'Multi-Select Country',
'Multi-Select', 'CheckBox', 'Multi-Select Country',
'Multi-Select State/Province',
);
if ($html_type == 'Multi-Select Country') {
Expand Down