Browse files

fixed tag export in lists (CSV)

  • Loading branch information...
1 parent 5c26a9f commit df24fe43ed05cf91710194f69139b2195348392b @splitbrain splitbrain committed Nov 30, 2010
Showing with 5 additions and 3 deletions.
  1. +2 −0 inc/functions.php
  2. +3 −3 index.php
View
2 inc/functions.php
@@ -519,6 +519,8 @@ function get_fields_from_template($tpl){
$return[] = $FIELDS[$f];
}elseif($FIELDS["_$f"]){
$return[] = $FIELDS["_$f"];
+ }elseif($f = 'markers'){
+ $return[] = 'marker';
}
}
return $return;
View
6 index.php
@@ -144,13 +144,13 @@ function _makeldapfilter(){
$words=preg_split('/\s+/',$search);
$filter='';
foreach($words as $word){
- $wordfilter='';
+ $wordfilter='';
foreach($conf['searchfields'] as $field) {
$wordfilter .= '('.$field.'=*'.$word.'*)';
- }
+ }
for($i=0; $i <count($conf['searchfields']); $i++){
$wordfilter = '(|'.$wordfilter.')';
- }
+ }
$filter .= '(&'.$wordfilter.')';
}
$ldapfilter = "(&(objectClass=inetOrgPerson)$filter)";

0 comments on commit df24fe4

Please sign in to comment.