1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-27 23:56:18 +00:00

Admin new sort (#8002)

* [system admin] Libraries - 'All' & 'Wikis': removed the sort in the table head, added a sort menu

* [org admin] libraries - 'all': removed the sort in the table head, and added a sort menu

* [org admin] users - 'all': removed the sort in the table head, and added a sort menu

* [system admin] Users - 'Database' & 'LDAP(imported)': removed the sort in the table head, added a sort menu

* [system admin] Links - Share Links: removed the sort in the table head, and added a sort menu

* [system admin] Departments - department - members: removed the sort in the table head, added a sort menu, and bugfix

* [org admin] Departments - department - members: removed the sort in the table head, added a sort menu, and bugfix

* [sort menu] fixed the default menu options
This commit is contained in:
llj
2025-07-04 11:55:33 +08:00
committed by GitHub
parent 52c2578e9b
commit 4703a2a75e
19 changed files with 232 additions and 190 deletions

View File

@@ -155,14 +155,16 @@ class AllRepos extends Component {
</MainPanelTopbar>
<div className="main-panel-center flex-row">
<div className="cur-view-container">
<ReposNav currentItem="all" />
<ReposNav
currentItem="all"
sortBy={this.state.sortBy}
sortItems={this.sortItems}
/>
<div className="cur-view-content">
<Content
loading={this.state.loading}
errorMsg={this.state.errorMsg}
items={this.state.repos}
sortBy={this.state.sortBy}
sortItems={this.sortItems}
pageInfo={this.state.pageInfo}
curPerPage={this.state.perPage}
getListByPage={this.getReposByPage}