Fix #109: List pending requests by default, added a status filter for requests

This commit is contained in:
Eliot Berriot 2018-04-27 22:23:25 +02:00
parent f2d20e1bf7
commit 42a2ffbf24
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 44 additions and 7 deletions

View file

@ -212,7 +212,7 @@ export default new Router({
defaultQuery: route.query.query,
defaultPaginateBy: route.query.paginateBy,
defaultPage: route.query.page,
defaultStatus: route.query.status || 'pending'
defaultStatus: route.query.status || 'any'
}),
children: [
]