mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 03:48:48 +01:00
🐛 Database filtering does not work after change the field type https://github.com/siyuan-note/siyuan/issues/10519
This commit is contained in:
parent
b12a125730
commit
3207a5a8a1
2 changed files with 18 additions and 24 deletions
|
|
@ -225,8 +225,9 @@ func getAttributeViewFilterSort(c *gin.Context) {
|
|||
}
|
||||
|
||||
avID := arg["id"].(string)
|
||||
blockID := arg["blockID"].(string)
|
||||
|
||||
filters, sorts := model.GetAttributeViewFilterSort(avID)
|
||||
filters, sorts := model.GetAttributeViewFilterSort(avID, blockID)
|
||||
ret.Data = map[string]interface{}{
|
||||
"filters": filters,
|
||||
"sorts": sorts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue