summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/search.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-02-14 20:46:48 +0000
committerthomascube <thomas@roundcube.net>2011-02-14 20:46:48 +0000
commit3e2637351da9559a4aa420004ac90e9fe30477ef (patch)
treeca7f99df5bba9fc2bf63ab3bb14566dfffa3b607 /program/steps/addressbook/search.inc
parentfc2d3de7691a9b1d083eed435c2c327c2b8edbaa (diff)
Fulltext search over contact fields. Attention: DATABASE SCHEMA CHANGED\!
Diffstat (limited to 'program/steps/addressbook/search.inc')
-rw-r--r--program/steps/addressbook/search.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/search.inc b/program/steps/addressbook/search.inc
index 0b4397f6d..7d6775507 100644
--- a/program/steps/addressbook/search.inc
+++ b/program/steps/addressbook/search.inc
@@ -26,7 +26,7 @@ $search = trim(get_input_value('_q', RCUBE_INPUT_GET));
$search_request = md5('addr'.$search);
// get contacts for this user
-$result = $CONTACTS->search(array('name','email'), $search);
+$result = $CONTACTS->search('*', $search);
// save search settings in session
$_SESSION['search'][$search_request] = $CONTACTS->get_search_set();