partial for #5126 - less rows in remote demo to avoid scrolling

This commit is contained in:
Jörn Zaefferer 2010-02-20 17:46:19 +00:00
parent 012ed1a194
commit b53bf774ce

View File

@ -632,7 +632,7 @@ foreach ($items as $key=>$value) {
if (strpos(strtolower($key), $q) !== false) {
array_push($result, array("id"=>$value, "label"=>$key, "value" => strip_tags($key)));
}
if (count($result) > 12)
if (count($result) > 11)
break;
}
echo array_to_json($result);