summaryrefslogtreecommitdiff
path: root/kolab.org/www/drupal-7.18/sites/all/modules/views/plugins/export_ui/views_ui.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'kolab.org/www/drupal-7.18/sites/all/modules/views/plugins/export_ui/views_ui.class.php')
-rw-r--r--kolab.org/www/drupal-7.18/sites/all/modules/views/plugins/export_ui/views_ui.class.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/kolab.org/www/drupal-7.18/sites/all/modules/views/plugins/export_ui/views_ui.class.php b/kolab.org/www/drupal-7.18/sites/all/modules/views/plugins/export_ui/views_ui.class.php
index 22b65cb..9d80138 100644
--- a/kolab.org/www/drupal-7.18/sites/all/modules/views/plugins/export_ui/views_ui.class.php
+++ b/kolab.org/www/drupal-7.18/sites/all/modules/views/plugins/export_ui/views_ui.class.php
@@ -376,6 +376,11 @@ class views_ui extends ctools_export_ui {
}
function list_page($js, $input) {
+ // Remove filters values from session if filters are hidden.
+ if (!variable_get('views_ui_show_listing_filters', FALSE) && isset($_SESSION['ctools_export_ui'][$this->plugin['name']])) {
+ unset($_SESSION['ctools_export_ui'][$this->plugin['name']]);
+ }
+
// wrap output in a div for CSS
$output = parent::list_page($js, $input);
if (is_string($output)) {