Add option to sort Recently Added by file's mtime instead of time of import.
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
type Options model.QueryOptions
|
||||
|
||||
func AlbumsByNewest() Options {
|
||||
return Options{Sort: "createdAt", Order: "desc"}
|
||||
return Options{Sort: "recently_added", Order: "desc"}
|
||||
}
|
||||
|
||||
func AlbumsByRecent() Options {
|
||||
|
||||
Reference in New Issue
Block a user