feat: use album create time for home ui and album listings

closes #182
closes #135

Co-authored-by: b-levin <windrider417@gmail.com>
This commit is contained in:
sentriz
2022-01-07 11:51:16 +00:00
committed by Senan Kelly
parent 9c1f9784be
commit 14a2668426
3 changed files with 21 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ func (c *Controller) ServeHome(r *http.Request) *Response {
// recent folders box
c.DB.
Where("tag_artist_id IS NOT NULL").
Order("modified_at DESC").
Order("created_at DESC").
Limit(8).
Find(&data.RecentFolders)
data.IsScanning = c.Scanner.IsScanning()