SOURCES: turba-search.patch (NEW) - honor 'search' settings for addressbook...
baggins
baggins at pld-linux.org
Sat Oct 25 17:56:42 CEST 2008
Author: baggins Date: Sat Oct 25 15:56:41 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- honor 'search' settings for addressbook sources
---- Files affected:
SOURCES:
turba-search.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/turba-search.patch
diff -u /dev/null SOURCES/turba-search.patch:1.1
--- /dev/null Sat Oct 25 17:56:42 2008
+++ SOURCES/turba-search.patch Sat Oct 25 17:56:36 2008
@@ -0,0 +1,16 @@
+--- turba-h3-2.3/lib/api.php~ 2008-10-25 17:49:17.000000000 +0200
++++ turba-h3-2.3/lib/api.php 2008-10-25 17:55:24.000000000 +0200
+@@ -1334,7 +1334,12 @@
+ foreach ($fields[$source] as $field) {
+ $criteria[$field] = trim($name);
+ }
+- }
++ } else {
++ foreach ($cfgSources[$source]['search'] as $field) {
++ $criteria[$field] = trim($name);
++ }
++ }
++
+ if (count($criteria) == 0) {
+ $criteria['name'] = trim($name);
+ }
================================================================
More information about the pld-cvs-commit
mailing list