From a0a6c493495f82eac361e077e7d072061d52aede Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Tue, 2 Apr 2019 10:56:24 +0200 Subject: [PATCH] order filter sort by created desc --- modules/route/front/index/index.html | 2 +- modules/route/front/index/index.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/route/front/index/index.html b/modules/route/front/index/index.html index 86c79386e..62bfee7f9 100644 --- a/modules/route/front/index/index.html +++ b/modules/route/front/index/index.html @@ -4,7 +4,7 @@ filter="::$ctrl.filter" limit="20" data="routes" - order="id ASC"> + order="created DESC">
diff --git a/modules/route/front/index/index.js b/modules/route/front/index/index.js index 9b74a3742..c516a2e8f 100644 --- a/modules/route/front/index/index.js +++ b/modules/route/front/index/index.js @@ -32,8 +32,7 @@ export default class Controller { } } }, - ], - order: 'created DESC' + ] }; }