From a44bb2a13ca4dd4c56d00dbf712970209e9e4c9d Mon Sep 17 00:00:00 2001 From: Joan Sanchez Date: Tue, 2 Apr 2019 10:05:56 +0200 Subject: [PATCH] route index order by created desc --- modules/route/front/index/index.html | 2 +- modules/route/front/index/index.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/route/front/index/index.html b/modules/route/front/index/index.html index cb4f553f5..86c79386e 100644 --- a/modules/route/front/index/index.html +++ b/modules/route/front/index/index.html @@ -26,7 +26,7 @@ Worker Agency Vehicle - Date + Date Description diff --git a/modules/route/front/index/index.js b/modules/route/front/index/index.js index c516a2e8f..9b74a3742 100644 --- a/modules/route/front/index/index.js +++ b/modules/route/front/index/index.js @@ -32,7 +32,8 @@ export default class Controller { } } }, - ] + ], + order: 'created DESC' }; }