show recent folders properly in ui

This commit is contained in:
sentriz
2019-07-08 22:34:22 +01:00
parent 82b5c73869
commit 8437068e96
2 changed files with 2 additions and 2 deletions

View File

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