From adb70b35ee4d32571b9f2d8542c05cd862988fef Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Fri, 5 Jun 2020 18:40:10 +0200 Subject: [PATCH] fix(targetchange,targetticket): no order column for those types Signed-off-by: Thierry Bugier --- inc/targetchange.class.php | 1 - inc/targetticket.class.php | 1 - 2 files changed, 2 deletions(-) diff --git a/inc/targetchange.class.php b/inc/targetchange.class.php index 9f8e76bcb..6a1a08e8e 100644 --- a/inc/targetchange.class.php +++ b/inc/targetchange.class.php @@ -643,7 +643,6 @@ public function getTargetChangesForForm($formId) { 'WHERE' => [ 'plugin_formcreator_forms_id' => $formId ], - 'ORDER' => 'order ASC' ]); foreach ($rows as $row) { $target = new self(); diff --git a/inc/targetticket.class.php b/inc/targetticket.class.php index 907bb9f16..440a64bf3 100644 --- a/inc/targetticket.class.php +++ b/inc/targetticket.class.php @@ -1209,7 +1209,6 @@ public function getTargetTicketsForForm($formId) { 'WHERE' => [ 'plugin_formcreator_forms_id' => $formId ], - 'ORDER' => 'order ASC' ]); foreach ($rows as $row) { $target = new self();