From 26746d4f61e6141956b5f0f5959db9c9e1932056 Mon Sep 17 00:00:00 2001
From: Rasmus Fuhse <fuhse@data-quest.de>
Date: Fri, 9 Jan 2015 15:21:53 +0100
Subject: [PATCH] change order of my plugins

---
 controllers/myplugins.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/controllers/myplugins.php b/controllers/myplugins.php
index a935ece..d47da97 100644
--- a/controllers/myplugins.php
+++ b/controllers/myplugins.php
@@ -14,7 +14,7 @@ class MypluginsController extends PluginController {
 
     public function overview_action()
     {
-        $this->plugins = MarketPlugin::findBySQL("user_id = ?", array($GLOBALS['user']->id));
+        $this->plugins = MarketPlugin::findBySQL("user_id = ? ORDER BY mkdate DESC", array($GLOBALS['user']->id));
     }
 
     public function add_action() {
-- 
GitLab