mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Fix wrong order of search result in linkto
This commit is contained in:
parent
3bef4b2a26
commit
c82ffac545
@ -93,7 +93,7 @@ class etemplate_widget_link extends etemplate_widget
|
||||
public static function ajax_link_search($app, $type, $pattern, $options=array()) {
|
||||
$options['type'] = $type ? $type : $options['type'];
|
||||
$links = egw_link::query($app, $pattern, $options);
|
||||
|
||||
$links = array_combine(array_map(create_function('$k', 'return (string)" ".$k;'), array_keys($links)), $links);
|
||||
$response = egw_json_response::get();
|
||||
$response->data($links);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user