mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-02 13:41:48 +01:00
🐛 The corresponding entry cannot be found in the database relation https://github.com/siyuan-note/siyuan/issues/10523
This commit is contained in:
parent
23c4f81289
commit
8e4dbcfa31
2 changed files with 10 additions and 4 deletions
|
|
@ -68,7 +68,11 @@ func getAttributeViewPrimaryKeyValues(c *gin.Context) {
|
|||
pageSize = int(pageSizeArg.(float64))
|
||||
}
|
||||
|
||||
attributeViewName, rows, err := model.GetAttributeViewPrimaryKeyValues(id, page, pageSize)
|
||||
keyword := ""
|
||||
if keywordArg := arg["keyword"]; nil != keywordArg {
|
||||
keyword = keywordArg.(string)
|
||||
}
|
||||
attributeViewName, rows, err := model.GetAttributeViewPrimaryKeyValues(id, keyword, page, pageSize)
|
||||
if nil != err {
|
||||
ret.Code = -1
|
||||
ret.Msg = err.Error()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue