Merge pull request #1337 from AndreasK79/master

[Station location] Changed county limit to 300 to avoid result gettin…
这个提交包含在:
Andreas Kristiansen 2021-12-27 20:22:31 +01:00 提交者 GitHub
当前提交 aecafa25e6
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -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]];
}
}