Skip to content

Commit

Permalink
fix: index albumArtist as part of the album searchable fields
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Mar 7, 2020
1 parent 59356f0 commit 9235ab6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions persistence/album_repository.go
Expand Up @@ -9,7 +9,6 @@ import (
"github.com/deluan/navidrome/log"
"github.com/deluan/navidrome/model"
"github.com/deluan/rest"
"github.com/dhowden/tag/mbz"
)

type albumRepository struct {
Expand Down Expand Up @@ -37,7 +36,7 @@ func (r *albumRepository) Put(a *model.Album) error {
if err != nil {
return err
}
return r.index(a.ID, a.Name, a.Artist, mbz.AlbumArtist)
return r.index(a.ID, a.Name, a.Artist, a.AlbumArtist)
}

func (r *albumRepository) selectAlbum(options ...model.QueryOptions) SelectBuilder {
Expand Down

0 comments on commit 9235ab6

Please sign in to comment.