From: hickert Date: Wed, 28 Oct 2009 15:52:04 +0000 (+0000) Subject: Allows current base in filters. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=191334926f3920b30900804b33418caa0f21d9c3;p=gosa.git Allows current base in filters. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14674 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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);