[Station location] Changed county limit to 300 to avoid result getting truncated.

这个提交包含在:
Andreas 2021-12-27 20:20:18 +01:00
父节点 8c2b073bf9
当前提交 021aa384d4

查看文件

@ -156,8 +156,8 @@ class Station extends CI_Controller {
$i = 0;
foreach ($result as &$value) {
$county = explode(',', $value);
// Limit to 100 as to not slowdown browser too much
if (count($json) <= 100) {
// Limit to 300 as to not slowdown browser too much
if (count($json) <= 300) {
$json[] = ["name"=>$county[1]];
}
}