Update the order for the groups
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 29 Apr 2015 13:43:59 +0000 (09:43 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 29 Apr 2015 13:43:59 +0000 (09:43 -0400)
Use id that way the guides are before the how did you hear ones.

Toolkit/Contacts/ContactUs.php

index 2dd4536..4a2a79b 100755 (executable)
@@ -557,7 +557,7 @@ class Toolkit_Contacts_ContactUs
             'name'    => 'submit_rmv',
             'display' => 'Submit Form',
             'opts'    => array('class' => 'button')
-            
+
         );
 
         $this->setupElements($e);
@@ -1031,7 +1031,7 @@ class Toolkit_Contacts_ContactUs
                     LEFT OUTER JOIN inq_group
                     ON (contact_inq.groupid = inq_group.id)
                     $groupWhere
-                 ORDER BY inq_group.name, contact_inq.pos";
+                 ORDER BY inq_group.id, contact_inq.pos";
 
             $i = array();
             foreach ($this->dbh->query($sql) as $row) {