From: cajus Date: Wed, 17 Mar 2010 08:15:06 +0000 (+0000) Subject: Made filter and action share "act" X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=487fc2cd8b836aba3656c516a067386f88a14665;p=gosa.git Made filter and action share "act" git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16712 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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= "
". - "