From 6d4f906b8b476b1b44a68716443cc3d07a6c5056 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 10 Oct 2005 09:06:06 +0000 Subject: [PATCH] Added Description to searchfilter git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1543 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiPackageEntry.inc | 3 ++- plugins/admin/fai/faiPackage.tpl | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/admin/fai/class_faiPackageEntry.inc b/plugins/admin/fai/class_faiPackageEntry.inc index f57ec2e14..1a5c784e0 100644 --- a/plugins/admin/fai/class_faiPackageEntry.inc +++ b/plugins/admin/fai/class_faiPackageEntry.inc @@ -107,7 +107,8 @@ class faiPackageEntry extends plugin } foreach($pkgs as $pkg){ - if(preg_match("/^".str_replace("*",".*",$this->searchStrPKG)."/i",$pkg[0])){ + if((preg_match("/^".str_replace("*",".*",$this->searchStrPKG)."/i",$pkg[0]))|| + (preg_match("/^".str_replace("*",".*",$this->searchStrPKG)."/i",$pkg[3]))){ if($this->categories[$pkg[2]]){ if(in_array($pkg[0],$this->selected)){ $check = " checked "; diff --git a/plugins/admin/fai/faiPackage.tpl b/plugins/admin/fai/faiPackage.tpl index 6db4f7e69..021724cff 100644 --- a/plugins/admin/fai/faiPackage.tpl +++ b/plugins/admin/fai/faiPackage.tpl @@ -30,7 +30,7 @@
- {t}Release{/t} + {t}Release{/t} : {$release} @@ -38,7 +38,7 @@
- {t}Section{/t} + {t}Section{/t} : {$section} -- 2.30.2