fix: find songs and albums when sending an artist name search query

This commit is contained in:
Deluan
2020-02-09 19:52:06 -05:00
parent ce11a2f3be
commit 8a31e80b7a
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func (r mediaFileRepository) Put(m *model.MediaFile) error {
if err != nil {
return err
}
return r.index(m.ID, m.Title)
return r.index(m.ID, m.Title, m.Album, m.Artist, m.AlbumArtist)
}
func (r mediaFileRepository) selectMediaFile(options ...model.QueryOptions) SelectBuilder {