From 13aff49306e541bc285cf863edf3f8c682ae94e0 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 16 Mar 2010 08:40:39 +0000 Subject: [PATCH] reenabled filter caching git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16602 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../printerSelect/class_printerSelect.inc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/gosa-plugins/goto/personal/environment/printerSelect/class_printerSelect.inc b/gosa-plugins/goto/personal/environment/printerSelect/class_printerSelect.inc index 0d355684e..df1798642 100644 --- a/gosa-plugins/goto/personal/environment/printerSelect/class_printerSelect.inc +++ b/gosa-plugins/goto/personal/environment/printerSelect/class_printerSelect.inc @@ -33,14 +33,14 @@ class printerSelect extends management $this->storagePoints = array(get_ou("printerRDN")); -# // 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("selectPrinter-filter.xml", true, dirname(__FILE__))); - $filter->setObjectStorage($this->storagePoints); -# } - $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("selectPrinter-filter.xml", true, dirname(__FILE__))); + $filter->setObjectStorage($this->storagePoints); + } + $this->setFilter($filter); // Build headpage $headpage = new listing(get_template_path("selectPrinter-list.xml", true, dirname(__FILE__))); -- 2.30.2