Small changes regarding StarredAt.
Making StarredAt more "precise", setting it to the time the change was detected. getStarred.view now returns albums ordered by StarredAt. loadRange method now take QueryOptions.Desc into account
This commit is contained in:
+2
-1
@@ -12,12 +12,13 @@ type Album struct {
|
||||
AlbumArtist string
|
||||
Year int `idx:"Year"`
|
||||
Compilation bool
|
||||
Starred bool `idx:"Starred"`
|
||||
Starred bool
|
||||
PlayCount int
|
||||
PlayDate time.Time
|
||||
Duration int
|
||||
Rating int
|
||||
Genre string
|
||||
StarredAt time.Time `idx:"Starred"`
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user