From 2f1b5efef5cec73c7d7ff90516a9392de988f898 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 29 Jan 2010 18:05:07 +0000 Subject: [PATCH] Update current saving git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15481 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index d3587e4dc..8e5f104c9 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -562,6 +562,7 @@ class listing { $deps= $ui->get_module_departments($this->categories); $this->base= $deps[0]; $this->baseSelector->setBase($this->base); + session::global_set("CurrentMainBase", $this->base); } if ($action == 'BACK') { $deps= $ui->get_module_departments($this->categories); @@ -569,12 +570,14 @@ class listing { if(in_array_ics($base, $deps)){ $this->base= $base; $this->baseSelector->setBase($this->base); + session::global_set("CurrentMainBase", $this->base); } } if ($action == 'HOME') { $ui= get_userinfo(); $this->base= get_base_from_people($ui->dn); $this->baseSelector->setBase($this->base); + session::global_set("CurrentMainBase", $this->base); } } @@ -585,7 +588,6 @@ class listing { // Update filter and refresh entries $this->filter->setBase($this->base); - session::global_set("CurrentMainBase", $this->base); $this->entries= $this->filter->query(); // Fix filter if querie returns NULL -- 2.30.2