🎨 Candidate values of the database relation fields are no longer subject to view filtering https://github.com/siyuan-note/siyuan/issues/10411

This commit is contained in:
Daniel
2024-02-23 22:55:35 +08:00
parent 412c7a8d6b
commit bc6d6b17f7
2 changed files with 25 additions and 6 deletions
+2 -1
View File
@@ -48,7 +48,7 @@ func getAttributeViewPrimaryKeyValues(c *gin.Context) {
pageSize = int(pageSizeArg.(float64))
}
rows, err := model.GetAttributeViewPrimaryKeyValues(id, page, pageSize)
attributeViewName, rows, err := model.GetAttributeViewPrimaryKeyValues(id, page, pageSize)
if nil != err {
ret.Code = -1
ret.Msg = err.Error()
@@ -56,6 +56,7 @@ func getAttributeViewPrimaryKeyValues(c *gin.Context) {
}
ret.Data = map[string]interface{}{
"name": attributeViewName,
"rows": rows,
}
}