summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--App/database/Select.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/App/database/Select.php b/App/database/Select.php
index 0c0c5f2..fed1362 100644
--- a/App/database/Select.php
+++ b/App/database/Select.php
@@ -57,9 +57,8 @@ class Select extends dbSetup
/**
* @param int array $taskID
*/
- public function getTasksWithFollowingStatus($taskID=array(1))
- {
- $query = "SELECT task_with_status.id as id, title, description, user, level, stamp, task_with_status.style_class as style_class, status_level.id as level_id FROM `task_with_status` LEFT JOIN status_level ON task_with_status.level=status_level.plain_text ORDER BY stamp DESC";
+ public function getTasksWithFollowingStatus($taskID=array(1)){
+ $query = "SELECT task_with_status.id as id, title, description, user, level, stamp, task_with_status.style_class as style_class, status_level.id as level_id FROM `task_with_status` LEFT JOIN status_level ON task_with_status.level=status_level.plain_text";
$param = "";
$secondParam = $taskID;
if (count($taskID) > 0) {