mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 01:50:12 +01: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:
parent
412c7a8d6b
commit
bc6d6b17f7
2 changed files with 25 additions and 6 deletions
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue