From 37768a291b3df2aa040fe8ff898480e6f28626c8 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sun, 30 Jul 2017 16:39:24 +1000 Subject: [PATCH] Remove orderBy function following Eileen's testing --- CRM/Report/Form/Walklist/Walklist.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/CRM/Report/Form/Walklist/Walklist.php b/CRM/Report/Form/Walklist/Walklist.php index 9bef123b90..f08f95be3e 100644 --- a/CRM/Report/Form/Walklist/Walklist.php +++ b/CRM/Report/Form/Walklist/Walklist.php @@ -222,18 +222,6 @@ FROM civicrm_contact {$this->_aliases['civicrm_contact']} {$this->_aclFrom } } - public function orderBy() { - $this->_orderBy = ""; - foreach ($this->_columns as $tableName => $table) { - if (array_key_exists('order_bys', $table)) { - foreach ($table['order_bys'] as $fieldName => $field) { - $this->_orderByArray[] = $field['dbAlias']; - } - } - } - $this->_orderBy = "ORDER BY " . implode(', ', $this->_orderByArray) . " "; - } - public function postProcess() { // get the acl clauses built before we assemble the query $this->buildACLClause($this->_aliases['civicrm_contact']); -- 2.25.1