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
Andreas Kristiansen 2021-09-18 19:13:33 +02:00 zatwierdzone przez GitHub
commit 88864a428d
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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