From: hickert Date: Tue, 16 Mar 2010 08:40:03 +0000 (+0000) Subject: reenabled filter caching X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9a0ba28a5318353611850658b351fbd0199bc204;p=gosa.git reenabled filter caching git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16589 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/addons/goto/events/class_EventAddSystemDialog.inc b/gosa-plugins/goto/addons/goto/events/class_EventAddSystemDialog.inc index c84f6f7bd..f7ba9ec8e 100644 --- a/gosa-plugins/goto/addons/goto/events/class_EventAddSystemDialog.inc +++ b/gosa-plugins/goto/addons/goto/events/class_EventAddSystemDialog.inc @@ -37,12 +37,12 @@ class EventAddSystemDialog extends management get_ou('terminalRDN')); // Build filter -# if (session::global_is_set(get_class($this)."_filter")){ - # $filter= session::global_get(get_class($this)."_filter"); - # } else { + if (session::global_is_set(get_class($this)."_filter")){ + $filter= session::global_get(get_class($this)."_filter"); + } else { $filter = new filter(get_template_path("../../addons/goto/events/eventTargetSystems-filter.xml", TRUE)); $filter->setObjectStorage($this->storagePoints); - # } + } $this->setFilter($filter); // Build headpage