|
|
@@ -108,9 +108,6 @@ $sql = "SELECT `location`.*, COUNT(`test`.`id`) AS `test_count`, SUM(IF(`test`.`
|
|
|
|
|
|
$locations = Location::findBySql($sql);
|
|
|
|
|
|
-
|
|
|
-//$locations = Location::query($nvp, ["sort" => $query_sort, "order" => $order]);
|
|
|
-
|
|
|
if($sort === "internal-id") {
|
|
|
usort($locations, static function(Location $a, Location $b) {
|
|
|
return strnatcasecmp($a->internal_id, $b->internal_id);
|