]> git.sur5r.net Git - contagged/commitdiff
fixed search by tags
authorAndreas Gohr <gohr@cosmocode.de>
Tue, 26 Aug 2014 09:52:37 +0000 (11:52 +0200)
committerAndreas Gohr <gohr@cosmocode.de>
Tue, 26 Aug 2014 09:52:37 +0000 (11:52 +0200)
index.php

index 7910e3afa2b41507b0b5f304624db59eedbf0352..5a9ab819da54fab7dd2615819abf63be3d31c1bf 100644 (file)
--- a/index.php
+++ b/index.php
 
     if(!empty($marker)){
       // Search by tag
-      $ldapfilter = '(&(objectClass=evolutionPerson)';
+      $ldapfilter = '(&( |(objectClass=evolutionPerson)(objectClass=contactPerson) )';
       $marker = explode(',',$marker);
       foreach($marker as $m){
         $m = trim($m);