From: Steve Sutton Date: Wed, 29 Apr 2015 13:43:59 +0000 (-0400) Subject: Update the order for the groups X-Git-Tag: v1.2.40^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9751e4b37158aed003b2f7d1295425b322d7d14b;p=web%2FKeweenaw.git Update the order for the groups Use id that way the guides are before the how did you hear ones. --- diff --git a/Toolkit/Contacts/ContactUs.php b/Toolkit/Contacts/ContactUs.php index 2dd4536..4a2a79b 100755 --- a/Toolkit/Contacts/ContactUs.php +++ b/Toolkit/Contacts/ContactUs.php @@ -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) {