From: hickert Date: Tue, 16 Mar 2010 08:40:13 +0000 (+0000) Subject: reenabled filter caching X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=90d92426c626e44797dbf755c3a1de829cdf3535;p=gosa.git reenabled filter caching git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16593 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/packageSelect/class_packageSelect.inc b/gosa-plugins/fai/admin/fai/packageSelect/class_packageSelect.inc index fba6e8b9e..daa346a46 100644 --- a/gosa-plugins/fai/admin/fai/packageSelect/class_packageSelect.inc +++ b/gosa-plugins/fai/admin/fai/packageSelect/class_packageSelect.inc @@ -31,18 +31,18 @@ class packageSelect extends management $this->config = $config; $this->ui = $ui; -# // Build filter -# if (session::global_is_set(get_class($this)."_filter")){ -# $filter= session::global_get(get_class($this)."_filter"); -# } else { - $filter = new filter(get_template_path("selectPackage-filter.xml", true, dirname(__FILE__))); -# } - $this->setFilter($filter); + // Build filter + if (session::global_is_set(get_class($this)."_filter")){ + $filter= session::global_get(get_class($this)."_filter"); + } else { + $filter = new filter(get_template_path("selectPackage-filter.xml", true, dirname(__FILE__))); + } + $this->setFilter($filter); - // Build headpage - $headpage = new listing(get_template_path("selectPackage-list.xml", true, dirname(__FILE__))); - $headpage->setFilter($filter); - parent::__construct($config, $ui, "FAI-packages", $headpage); + // Build headpage + $headpage = new listing(get_template_path("selectPackage-list.xml", true, dirname(__FILE__))); + $headpage->setFilter($filter); + parent::__construct($config, $ui, "FAI-packages", $headpage); } function save()