summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc')
-rw-r--r--kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc11
1 files changed, 10 insertions, 1 deletions
diff --git a/kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc b/kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc
index 8054542..fc2700b 100644
--- a/kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc
+++ b/kolab.org/www/drupal-7.15/sites/all/modules/views/handlers/views_handler_filter_in_operator.inc
@@ -1,4 +1,10 @@
<?php
+
+/**
+ * @file
+ * Definition of views_handler_filter_in_operator.
+ */
+
/**
* Simple filter to handle matching of multiple options selectable via checkboxes
*
@@ -74,7 +80,7 @@ class views_handler_filter_in_operator extends views_handler_filter {
$options['operator']['default'] = 'in';
$options['value']['default'] = array();
- $options['expose']['contains']['reduce'] = array('default' => FALSE);
+ $options['expose']['contains']['reduce'] = array('default' => FALSE, 'bool' => TRUE);
return $options;
}
@@ -284,6 +290,9 @@ class views_handler_filter_in_operator extends views_handler_filter {
}
function admin_summary() {
+ if ($this->is_a_group()) {
+ return t('grouped');
+ }
if (!empty($this->options['exposed'])) {
return t('exposed');
}