Merge pull request #1337 from AndreasK79/master
[Station location] Changed county limit to 300 to avoid result gettin…
这个提交包含在:
当前提交
aecafa25e6
共有 1 个文件被更改,包括 2 次插入 和 2 次删除
|
|
@ -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]];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
正在加载…
在新工单中引用