1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 20:08:19 +00:00

Optimized search module (#2397)

* updating fileRecord api and adding more component

* modify search module

* add translate
This commit is contained in:
shanshuirenjia
2018-09-25 15:10:23 +08:00
committed by Daniel Pan
parent 5ce1b15fb2
commit 6d65771ddd
7 changed files with 69 additions and 11 deletions

View File

@@ -85,8 +85,8 @@ class EditorUtilities {
return seafileAPI.getFileContent(filePath);
}
getFileHistoryRecord(filePath, page, per_page) {
return seafileAPI.getFileHistoryRecord(historyRepoID, filePath, page, per_page);
listFileHistoryRecords(filePath, page, per_page) {
return seafileAPI.listFileHistoryRecords(historyRepoID, filePath, page, per_page);
}
revertFile(filePath, commitID) {