🐛 The corresponding entry cannot be found in the database relation https://github.com/siyuan-note/siyuan/issues/10523

This commit is contained in:
Daniel committed 2024-03-06 09:40:04 +08:00
1 parent 23c4f81289
commit 8e4dbcfa31
2 files changed
+10 -4

No files matched your search

+5 -1
View File
@@ -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()