summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/list.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-03-14 08:27:18 +0000
committerthomascube <thomas@roundcube.net>2012-03-14 08:27:18 +0000
commit168e5409239583343ae40695585aa8dbc276f740 (patch)
treeb15683c369ef636652bf19b82d0c13b955e9de1d /program/steps/addressbook/list.inc
parentec318158ceb0fa3e52ee24eada5f7763779da238 (diff)
Request all needed fields from address book backends (#1488394)
Diffstat (limited to 'program/steps/addressbook/list.inc')
-rw-r--r--program/steps/addressbook/list.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/addressbook/list.inc b/program/steps/addressbook/list.inc
index 91852a421..5876f3c6f 100644
--- a/program/steps/addressbook/list.inc
+++ b/program/steps/addressbook/list.inc
@@ -46,7 +46,7 @@ if (!empty($_REQUEST['_search']) && isset($_SESSION['search'][$_REQUEST['_search
$source->set_search_set($set);
// get records
- $result = $source->list_records(array('name', 'email'));
+ $result = $source->list_records(array('name', 'firstname', 'surname', 'email'));
while ($row = $result->next()) {
$row['sourceid'] = $s;
@@ -76,7 +76,7 @@ else {
$CONTACTS = rcmail_contact_source(null, true);
// get contacts for this user
- $result = $CONTACTS->list_records(array('name'));
+ $result = $CONTACTS->list_records(array('name', 'firstname', 'surname', 'email'));
if (!$result->count && $result->searchonly) {
$OUTPUT->show_message('contactsearchonly', 'notice');