Missed "Group" in the "narrow" commit

This is just to add Group into the previous commit for narrow filter organization for the Events view.
pull/3885/head
Simpler1 2024-03-22 11:44:42 -04:00 committed by GitHub
parent 6338f9b0eb
commit 06ac65cc38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1185,10 +1185,10 @@ class Filter extends ZM_Object {
$html .= '<span class="term-value-wrapper">'.htmlSelect("filter[Query][terms][$i][val]", $booleanValues, $term['val']).'</span>'.PHP_EOL;
} else if ( $term['attr'] == 'Group') {
$html .= '<td>'.htmlSelect("filter[Query][terms][$i][val]", Group::get_dropdown_options(), $term['val'],
$html .= '<span class="term-value-wrapper">'.htmlSelect("filter[Query][terms][$i][val]", Group::get_dropdown_options(), $term['val'],
['class'=>'term-value chosen',
'multiple'=>'multiple',
'data-placeholder'=>translate('All Groups')]).'</td>'.PHP_EOL;
'data-placeholder'=>translate('All Groups')]).'</span>'.PHP_EOL;
} else if ( $term['attr'] == 'StateId' ) {
$html .= '<span class="term-value-wrapper">'.htmlSelect("filter[Query][terms][$i][val]", $states, $term['val']).'</span>'.PHP_EOL;
} else if ( strpos($term['attr'], 'Weekday') !== false ) {