diff --git a/app/controllers/repositories/show/dois/index.js b/app/controllers/repositories/show/dois/index.js index 3db5fdb7..aaf4b75e 100644 --- a/app/controllers/repositories/show/dois/index.js +++ b/app/controllers/repositories/show/dois/index.js @@ -39,11 +39,11 @@ export default class EditController extends Controller { state = null; source = null; 'link-check-status' = null; - sort = null; + sort = '-updated'; 'schema-version' = null; certificate = null; page = 1; size = 25; affiliation = true; publisher = true; -}; +} diff --git a/app/routes/dois/index.js b/app/routes/dois/index.js index be96cf8d..c24ac16d 100644 --- a/app/routes/dois/index.js +++ b/app/routes/dois/index.js @@ -28,7 +28,8 @@ export default class IndexRoute extends Route { number: params.page, size: params.size }, - include: 'client' + include: 'client', + sort: params.sort || '-updated' }); return this.store