mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-04-24 20:09:51 -05:00
🎨 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:
+2
-1
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user