mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🐛 The corresponding entry cannot be found in the database relation https://github.com/siyuan-note/siyuan/issues/10523
This commit is contained in:
2 files changed
+10
-4
No files matched your search
+5
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user