mirror of https://github.com/nextcloud/bookmarks
Recent bookmarks route: Sort by added not lastmodified
This commit is contained in:
parent
8f57852042
commit
ae4414a277
|
@ -528,7 +528,7 @@ export default {
|
|||
return dispatch(actions.FETCH_PAGE)
|
||||
},
|
||||
[actions.FILTER_BY_RECENT]({ dispatch, commit }, search) {
|
||||
commit(mutations.SET_QUERY, { sortby: 'lastmodified' })
|
||||
commit(mutations.SET_QUERY, { sortby: 'added' })
|
||||
return dispatch(actions.FETCH_PAGE)
|
||||
},
|
||||
[actions.FILTER_BY_SEARCH]({ dispatch, commit }, search) {
|
||||
|
|
Loading…
Reference in New Issue