mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 01:20:12 +01:00
🎨 数据历史文档中支持操作类型过滤 https://github.com/siyuan-note/siyuan/issues/5754
This commit is contained in:
parent
bd0ec0dcf2
commit
5be606ad3c
3 changed files with 60 additions and 3 deletions
|
|
@ -44,9 +44,11 @@ func searchHistory(c *gin.Context) {
|
|||
if nil != arg["op"] {
|
||||
op = arg["op"].(string)
|
||||
}
|
||||
histories := model.FullTextSearchHistory(query, op, page)
|
||||
histories, pageCount, totalCount := model.FullTextSearchHistory(query, op, page)
|
||||
ret.Data = map[string]interface{}{
|
||||
"histories": histories,
|
||||
"histories": histories,
|
||||
"pageCount": pageCount,
|
||||
"totalCount": totalCount,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue