1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-04 16:31:13 +00:00

Merge pull request #3573 from haiwen/sort_size

Sort size
This commit is contained in:
Daniel Pan
2019-05-31 20:37:20 +08:00
committed by GitHub
11 changed files with 80 additions and 10 deletions

View File

@@ -44,7 +44,7 @@ class GroupView extends React.Component {
currentRepo: null,
isStaff: false,
isOwner: false,
sortBy: cookie.load('seafile-repo-dir-sort-by') || 'name', // 'name' or 'time'
sortBy: cookie.load('seafile-repo-dir-sort-by') || 'name', // 'name' or 'time' or 'size'
sortOrder: cookie.load('seafile-repo-dir-sort-order') || 'asc', // 'asc' or 'desc'
repoList: [],
libraryType: 'group',