| | |
| | | |
| | | while ($row = $result->next()) { |
| | | $row['sourceid'] = $s; |
| | | $key = rcmail_contact_key($row, $sort_col); |
| | | $key = rcube_addressbook::compose_contact_key($row, $sort_col); |
| | | $records[$key] = $row; |
| | | } |
| | | unset($result); |
| | |
| | | $OUTPUT->show_message('contactsearchonly', 'notice'); |
| | | $OUTPUT->command('command', 'advanced-search'); |
| | | } |
| | | |
| | | if ($CONTACTS->group_id) { |
| | | $OUTPUT->command('set_group_prop', array('ID' => $CONTACTS->group_id) |
| | | + array_intersect_key((array)$CONTACTS->get_group($CONTACTS->group_id), array('name'=>1,'email'=>1))); |
| | | } |
| | | } |
| | | |
| | | // update message count display |