mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 Database table view in-table search https://github.com/siyuan-note/siyuan/issues/10419
This commit is contained in:
parent
f0efd8ac67
commit
b6c2c829b1
2 changed files with 24 additions and 3 deletions
|
|
@ -37,8 +37,8 @@ func searchTableView(c *gin.Context) {
|
|||
|
||||
avID := arg["avID"].(string)
|
||||
viewID := arg["viewID"].(string)
|
||||
keyword := arg["keyword"].(string)
|
||||
view, attrView, err := model.SearchTableView(avID, viewID, keyword)
|
||||
query := arg["query"].(string)
|
||||
view, attrView, err := model.SearchTableView(avID, viewID, query)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue