From: hickert Date: Tue, 16 Mar 2010 08:40:25 +0000 (+0000) Subject: reenabled filter caching X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3cec64d8a64780a4de81dd79f6f21caa05fe78dc;p=gosa.git reenabled filter caching git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16597 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc b/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc index 6c67c5253..e6ae79030 100644 --- a/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc +++ b/gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc @@ -37,16 +37,16 @@ class opsiLicenses extends management { $this->config = $config; $this->ui = $ui; - + $this->storagePoints = array(""); - -# // Build filter - # if (session::global_is_set(get_class($this)."_filter")){ - # $filter= session::global_get(get_class($this)."_filter"); - # } else { + + // 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("opsiLicense-filter.xml", true)); $filter->setObjectStorage($this->storagePoints); - #} + } $this->setFilter($filter); // Build headpage