[icinga-checkins] icinga.org: icingaweb2-module-director/master: SyncPropertyForm: show sorted source columns

git at icinga.org git at icinga.org
Thu Oct 6 18:47:26 CEST 2016


Module: icingaweb2-module-director
Branch: master
Commit: f71bfb1204fdbb332b1e9e5caae5abb63049007f
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=f71bfb1204fdbb332b1e9e5caae5abb63049007f

Author: Thomas Gelf <thomas at gelf.net>
Date:   Thu Oct  6 16:16:06 2016 +0000

SyncPropertyForm: show sorted source columns

---

 application/forms/SyncPropertyForm.php |    1 +
 1 file changed, 1 insertion(+)

diff --git a/application/forms/SyncPropertyForm.php b/application/forms/SyncPropertyForm.php
index 7ffa7b2..8da1556 100644
--- a/application/forms/SyncPropertyForm.php
+++ b/application/forms/SyncPropertyForm.php
@@ -183,6 +183,7 @@ class SyncPropertyForm extends DirectorObjectForm
         $error = false;
         try {
             $data = $this->listSourceColumns();
+            natsort($data);
         } catch (Exception $e) {
             $data = array();
             $error = sprintf(



More information about the icinga-checkins mailing list