Fixed #50: ordering for favorites

This commit is contained in:
Eliot Berriot 2017-12-17 20:07:18 +01:00
parent 04c70116c3
commit 6ad8b212cf
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 124 additions and 30 deletions

View file

@ -47,7 +47,11 @@ export default new Router({
},
{
path: '/favorites',
component: Favorites
component: Favorites,
props: (route) => ({
defaultOrdering: route.query.ordering,
defaultPage: route.query.page
})
},
{
path: '/library',