From c40429e3bbaa23798c5d7398c4917cde7241b5af Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 7 Dec 2005 11:41:46 +0100 Subject: [PATCH] All filter added darcs-hash:20051207104146-6e07b-4b6021f9a6fb661526a8a616501c30468b1911e8.gz --- index.php | 2 ++ templates/list_filter.tpl | 1 + 2 files changed, 3 insertions(+) diff --git a/index.php b/index.php index e90d846..7ff0f07 100644 --- a/index.php +++ b/index.php @@ -108,6 +108,8 @@ $other .= '(!(sn='.chr($i).'*))'; } $ldapfilter = "(&(objectClass=inetOrgPerson)$other)"; + }elseif($filter=='*'){ + $ldapfilter = "(objectClass=inetOrgPerson)"; }else{ $filter = utf8_encode($filter); $ldapfilter = "(&(objectClass=inetOrgPerson)(sn=$filter*))"; diff --git a/templates/list_filter.tpl b/templates/list_filter.tpl index 1b9f714..1cecd92 100644 --- a/templates/list_filter.tpl +++ b/templates/list_filter.tpl @@ -28,6 +28,7 @@ Y Z # + * {if $conf.extended} -- 2.39.5