route index order by created desc
gitea/salix/test This commit looks good Details

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

View File

@ -26,7 +26,7 @@
<vn-th th-id="worker">Worker</vn-th>
<vn-th th-id="agency">Agency</vn-th>
<vn-th th-id="vehicle">Vehicle</vn-th>
<vn-th th-id="created" default-order="DESC">Date</vn-th>
<vn-th th-id="created">Date</vn-th>
<vn-th th-id="m3" number></vn-th>
<vn-th th-id="description">Description</vn-th>
<vn-th></vn-th>

View File

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