mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-31 13:58:49 +01:00
🎨 Database table view in-table search https://github.com/siyuan-note/siyuan/issues/10419
This commit is contained in:
parent
4a00e5a124
commit
cbcc8141a8
2 changed files with 33 additions and 2 deletions
|
|
@ -485,7 +485,13 @@ func renderAttributeView(c *gin.Context) {
|
|||
pageSize = int(pageSizeArg.(float64))
|
||||
}
|
||||
|
||||
view, attrView, err := model.RenderAttributeView(id, viewID, page, pageSize)
|
||||
query := ""
|
||||
queryArg := arg["query"]
|
||||
if nil != queryArg {
|
||||
query = queryArg.(string)
|
||||
}
|
||||
|
||||
view, attrView, err := model.RenderAttributeView(id, viewID, query, page, pageSize)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue