-
-
-
@@ -62,7 +52,7 @@
diff --git a/Wello/www/search.php b/Wello/www/search.php
index 63f2ba5..ec7df7e 100644
--- a/Wello/www/search.php
+++ b/Wello/www/search.php
@@ -53,6 +53,7 @@ else{
FROM well_completion_report
WHERE (Well_Latitude BETWEEN $lat1 AND $lat2) AND (Well_Longitude BETWEEN $long1 AND $long2)
ORDER BY (((Well_Longitude-$long)*(Well_Longitude-$long)) + ((Well_Latitude-$lat)*(Well_Latitude-$lat))) ASC
+ LIMIT 30
";
} else {
diff --git a/Wello/www/wells-list.php b/Wello/www/wells-list.php
index 1aa5bec..108f24d 100644
--- a/Wello/www/wells-list.php
+++ b/Wello/www/wells-list.php
@@ -44,6 +44,7 @@ if (isset($_GET['lat']) && isset($_GET['long'])) {
FROM well_completion_report
WHERE (Well_Latitude BETWEEN $lat1 AND $lat2) AND (Well_Longitude BETWEEN $long1 AND $long2)
ORDER BY (((Well_Longitude-$long)*(Well_Longitude-$long)) + ((Well_Latitude-$lat)*(Well_Latitude-$lat))) ASC
+ LIMIT 30
";
} else {