diff --git a/etemplate/inc/class.etemplate_widget_link.inc.php b/etemplate/inc/class.etemplate_widget_link.inc.php index 83d29e61c4..8ff5c349c0 100644 --- a/etemplate/inc/class.etemplate_widget_link.inc.php +++ b/etemplate/inc/class.etemplate_widget_link.inc.php @@ -95,6 +95,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']; + if(!$options['num_rows']) $options['num_rows'] = 1000; $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();