From 9e4bd5ff36b6b401d7b17f6f9ae426143ddced54 Mon Sep 17 00:00:00 2001 From: Andreas <6977712+AndreasK79@users.noreply.github.com> Date: Mon, 27 Dec 2021 20:24:00 +0100 Subject: [PATCH] [Station location] Changed county limit to 300 to avoid result getting truncated. --- application/controllers/Station.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Station.php b/application/controllers/Station.php index 35ce839a..311f1281 100644 --- a/application/controllers/Station.php +++ b/application/controllers/Station.php @@ -167,8 +167,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]]; } }