mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-01 15:36:37 +00:00
Support pagination in listing file histories.
Keep at least 2 versions (if exists) when listing file history.
This commit is contained in:
@@ -509,8 +509,8 @@ class SeafServerThreadedRpcClient(ccnet.RpcClientBase):
|
||||
pass
|
||||
get_dirent_by_path = seafile_get_dirent_by_path
|
||||
|
||||
@searpc_func("objlist", ["string", "string", "int", "int", "int"])
|
||||
def seafile_list_file_revisions(repo_id, path, max_revision, limit, show_days):
|
||||
@searpc_func("objlist", ["string", "string", "string", "int"])
|
||||
def seafile_list_file_revisions(repo_id, commit_id, path, limit):
|
||||
pass
|
||||
list_file_revisions = seafile_list_file_revisions
|
||||
|
||||
|
Reference in New Issue
Block a user