From 191334926f3920b30900804b33418caa0f21d9c3 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 28 Oct 2009 15:52:04 +0000 Subject: [PATCH] Allows current base in filters. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14674 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 1fcc94ece..c917e961a 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -678,6 +678,11 @@ class listing { $params[]= $this->pid; } + // base is replaced by the current base + if ($param == "base") { + $params[]= $this->getBase(); + } + // Fixie with "" is passed directly if (preg_match('/^".*"$/', $param)){ $params[]= preg_replace('/"/', '', $param); -- 2.30.2