mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-05 04:10:16 +01:00
🎨 Unreferenced assets files and databases sorted by modification time (#17090)
* 🎨 Unreferenced assets files sorted by modification time * 🐛 Unreferenced databases sorted by modification time
This commit is contained in:
parent
6030629cc9
commit
104b634435
4 changed files with 44 additions and 25 deletions
|
|
@ -58,7 +58,7 @@ func getUnusedAttributeViews(c *gin.Context) {
|
|||
ret := gulu.Ret.NewResult()
|
||||
defer c.JSON(http.StatusOK, ret)
|
||||
|
||||
unusedAttributeViews := model.UnusedAttributeViews()
|
||||
unusedAttributeViews := model.UnusedAttributeViews(true)
|
||||
total := len(unusedAttributeViews)
|
||||
|
||||
const maxUnusedAttributeViews = 512
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue