diff options
author | Udo Walter | 2017-10-18 15:50:13 +0200 |
---|---|---|
committer | Udo Walter | 2017-10-18 15:50:13 +0200 |
commit | 663fd954b58e8b6376ecf67110876fa91f0008df (patch) | |
tree | c89d5dbf4adbc9b086e02e0ca706154330d2796b /modules-available/locations/page.inc.php | |
parent | [sysconfig] removed redundant horizontal lines (diff) | |
download | slx-admin-663fd954b58e8b6376ecf67110876fa91f0008df.tar.gz slx-admin-663fd954b58e8b6376ecf67110876fa91f0008df.tar.xz slx-admin-663fd954b58e8b6376ecf67110876fa91f0008df.zip |
[locations] added warning if subnets are marked for deletion; locations now scroll into view; subnet list now sorted by startip;
Diffstat (limited to 'modules-available/locations/page.inc.php')
-rw-r--r-- | modules-available/locations/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locations/page.inc.php b/modules-available/locations/page.inc.php index ed78a6c7..d9bc7130 100644 --- a/modules-available/locations/page.inc.php +++ b/modules-available/locations/page.inc.php @@ -316,7 +316,7 @@ class Page_Locations extends Page } if ($getAction === 'showsubnets') { $res = Database::simpleQuery("SELECT subnetid, startaddr, endaddr, locationid FROM subnet - WHERE locationid IN (:locations)", + WHERE locationid IN (:locations) ORDER BY startaddr ASC", array("locations" => User::getAllowedLocations("location.view"))); $rows = array(); while ($row = $res->fetch(PDO::FETCH_ASSOC)) { |