1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-02 07:54:27 +00:00

Add repo sort function

This commit is contained in:
杨赫然
2019-12-31 14:38:24 +08:00
parent 3230c31dff
commit af0dae864b
6 changed files with 177 additions and 74 deletions

View File

@@ -101,7 +101,7 @@ class SeafileAPI(object):
def remove_repo(self, repo_id):
return seafserv_threaded_rpc.remove_repo(repo_id)
def get_repo_list(self, start, limit, order_by):
def get_repo_list(self, start, limit, order_by=None):
"""
Return: a list of Repo objects (lib/repo.vala)
"""