Changeset 6004 in subversion
- Timestamp:
- Mar 14, 2012 4:27:18 AM (15 months ago)
- Location:
- trunk/roundcubemail/program/steps
- Files:
-
- 5 edited
-
addressbook/delete.inc (modified) (1 diff)
-
addressbook/list.inc (modified) (2 diffs)
-
addressbook/search.inc (modified) (1 diff)
-
mail/autocomplete.inc (modified) (3 diffs)
-
mail/list_contacts.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/addressbook/delete.inc
r5966 r6004 87 87 88 88 // get records 89 $result = $source->list_records(array('name', ' email'));89 $result = $source->list_records(array('name', 'firstname', 'surname', 'email')); 90 90 91 91 if (!$result->count) { -
trunk/roundcubemail/program/steps/addressbook/list.inc
r5966 r6004 47 47 48 48 // get records 49 $result = $source->list_records(array('name', ' email'));49 $result = $source->list_records(array('name', 'firstname', 'surname', 'email')); 50 50 51 51 while ($row = $result->next()) { … … 77 77 78 78 // get contacts for this user 79 $result = $CONTACTS->list_records(array('name' ));79 $result = $CONTACTS->list_records(array('name', 'firstname', 'surname', 'email')); 80 80 81 81 if (!$result->count && $result->searchonly) { -
trunk/roundcubemail/program/steps/addressbook/search.inc
r5966 r6004 183 183 184 184 // get records 185 $result = $source->list_records(array('name', ' email'));185 $result = $source->list_records(array('name', 'firstname', 'surname', 'email')); 186 186 187 187 while ($row = $result->next()) { -
trunk/roundcubemail/program/steps/mail/autocomplete.inc
r5787 r6004 30 30 $abook->set_group($gid); 31 31 $abook->set_pagesize(1000); // TODO: limit number of group members by config 32 $result = $abook->list_records(array(' email','name'));32 $result = $abook->list_records(array('name', 'firstname', 'surname', 'email')); 33 33 while ($result && ($sql_arr = $result->iterate())) { 34 34 foreach ((array)$sql_arr['email'] as $email) { 35 $members[] = format_email_recipient($email, $sql_arr['name']);35 $members[] = format_email_recipient($email, rcube_addressbook::compose_list_name($sql_arr)); 36 36 break; // only expand one email per contact 37 37 } … … 68 68 $abook->set_pagesize($MAXNUM); 69 69 70 if ($result = $abook->search(array(' email','name'), $search, $mode, true, true, 'email')) {70 if ($result = $abook->search(array('name', 'firstname', 'surname', 'email'), $search, $mode, true, true, 'email')) { 71 71 while ($sql_arr = $result->iterate()) { 72 72 // Contact can have more than one e-mail address … … 79 79 } 80 80 81 $sql_arr['name'] = rcube_addressbook::compose_list_name($sql_arr); 81 82 $contact = format_email_recipient($email, $sql_arr['name']); 82 83 -
trunk/roundcubemail/program/steps/mail/list_contacts.inc
r5871 r6004 61 61 // get contacts for this user 62 62 $CONTACTS->set_group(0); 63 $result = $CONTACTS->list_records(array('name', ' email'));63 $result = $CONTACTS->list_records(array('name', 'firstname', 'surname', 'email')); 64 64 65 65 if (!$result->count && $result->searchonly) {
Note: See TracChangeset
for help on using the changeset viewer.
