From 487fc2cd8b836aba3656c516a067386f88a14665 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 17 Mar 2010 08:15:06 +0000 Subject: [PATCH] Made filter and action share "act" git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16712 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_filter.inc | 17 ++++++++--------- gosa-core/include/class_listing.inc | 14 +++++++------- 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/gosa-core/include/class_filter.inc b/gosa-core/include/class_filter.inc index 606979b6c..42048258f 100644 --- a/gosa-core/include/class_filter.inc +++ b/gosa-core/include/class_filter.inc @@ -290,14 +290,14 @@ class filter { } // Save scope if needed - if ($this->scopeMode == "auto" && isset($_POST['filter']) && $_POST['filter'] == "toggle-subtree") { + if ($this->scopeMode == "auto" && isset($_POST['act']) && $_POST['act'] == "toggle-subtree") { $this->scope= ($this->scope == "one")?"sub":"one"; } // Switch filter? - if (isset($_POST['filter'])) { + if (isset($_POST['act'])) { foreach ($this->searches as $tag => $cfg) { - if ($_POST['filter'] == "filter-$tag") { + if ($_POST['act'] == "filter-$tag") { $this->setSearch($tag); break; } @@ -411,8 +411,7 @@ class filter { function renderFilterMenu() { // Load shortcut - $result= "
". - "