|
|
|
@ -229,13 +229,13 @@ function rcmail_contact_search()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// update message count display
|
|
|
|
|
$OUTPUT->command('set_env', 'search_request', $search_request);
|
|
|
|
|
$OUTPUT->command('set_env', 'pagecount', ceil($result->count / $PAGE_SIZE));
|
|
|
|
|
$OUTPUT->set_env('search_request', $search_request);
|
|
|
|
|
$OUTPUT->set_env('pagecount', ceil($result->count / $PAGE_SIZE));
|
|
|
|
|
$OUTPUT->command('set_rowcount', rcmail_get_rowcount_text($result));
|
|
|
|
|
// Re-set current source
|
|
|
|
|
$OUTPUT->command('set_env', 'search_id', $sid);
|
|
|
|
|
$OUTPUT->command('set_env', 'source', '');
|
|
|
|
|
$OUTPUT->command('set_env', 'group', '');
|
|
|
|
|
$OUTPUT->set_env('search_id', $sid);
|
|
|
|
|
$OUTPUT->set_env('source', '');
|
|
|
|
|
$OUTPUT->set_env('group', '');
|
|
|
|
|
|
|
|
|
|
if (!$sid) {
|
|
|
|
|
// unselect currently selected directory/group
|
|
|
|
|