order filter sort by created desc
gitea/salix/test This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-04-02 10:56:24 +02:00
parent a44bb2a13c
commit a0a6c49349
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@
filter="::$ctrl.filter" filter="::$ctrl.filter"
limit="20" limit="20"
data="routes" data="routes"
order="id ASC"> order="created DESC">
</vn-crud-model> </vn-crud-model>
<div class="content-block"> <div class="content-block">
<div class="vn-list"> <div class="vn-list">

View File

@ -32,8 +32,7 @@ export default class Controller {
} }
} }
}, },
], ]
order: 'created DESC'
}; };
} }