|
@@ -118,12 +118,9 @@ class api { |
|
|
$this->applications = Applications::query_area($_GET['bottom_left_easting'], $_GET['bottom_left_northing'], $_GET['top_right_easting'], $_GET['top_right_easting']); |
|
|
$this->applications = Applications::query_area($_GET['bottom_left_easting'], $_GET['bottom_left_northing'], $_GET['top_right_easting'], $_GET['top_right_easting']); |
|
|
} |
|
|
} |
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
|
case "latest": |
|
|
case "latest": |
|
|
$this->applications = Applications::query_latest(500); |
|
|
$this->applications = Applications::query_latest(500); |
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
|
query_latest |
|
|
|
|
|
default: |
|
|
default: |
|
|
$this->warnings = "No call type specified"; |
|
|
$this->warnings = "No call type specified"; |
|
|
} |
|
|
} |
|
|