mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-17 13:36:49 +01:00
Refactor multi-threaded autocomple contact searching to make it available for other purposes, too
This commit is contained in:
@@ -47,7 +47,7 @@ $mode = (int) $RCMAIL->config->get('addressbook_search_mode');
|
||||
$single = (bool) $RCMAIL->config->get('autocomplete_single');
|
||||
$search = get_input_value('_search', RCUBE_INPUT_GPC, true);
|
||||
$source = get_input_value('_source', RCUBE_INPUT_GPC);
|
||||
$sid = get_input_value('_id', RCUBE_INPUT_GPC);
|
||||
$reqid = get_input_value('_reqid', RCUBE_INPUT_GPC);
|
||||
|
||||
if (strlen($source))
|
||||
$book_types = array($source);
|
||||
@@ -141,5 +141,5 @@ if (!empty($book_types) && strlen($search)) {
|
||||
}
|
||||
}
|
||||
|
||||
$OUTPUT->command('ksearch_query_results', $contacts, $search, $sid);
|
||||
$OUTPUT->command('ksearch_query_results', $contacts, $search, $reqid);
|
||||
$OUTPUT->send();
|
||||
|
||||
Reference in New Issue
Block a user