kopia lustrzana https://github.com/magicbug/Cloudlog
Merge pull request #1183 from AndreasK79/county_fix_increase_limit
[QSO] By limiting this to 100, a lot counties never got displayed.pull/1185/head
commit
88864a428d
|
@ -386,7 +386,7 @@ class QSO extends CI_Controller {
|
||||||
foreach ($result as &$value) {
|
foreach ($result as &$value) {
|
||||||
$county = explode(',', $value);
|
$county = explode(',', $value);
|
||||||
// Limit to 100 as to not slowdown browser too much
|
// Limit to 100 as to not slowdown browser too much
|
||||||
if (count($json) <= 100) {
|
if (count($json) <= 300) {
|
||||||
$json[] = ["name"=>$county[1]];
|
$json[] = ["name"=>$county[1]];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue