Skip to content

🎧 Your Personal Streaming Service

fix: index albumArtist as part of the album searchable fields

Deluan9235ab641440
diff --git a/persistence/album_repository.go b/persistence/album_repository.go
index c66d0da84..5df75cb8b 100644
--- a/persistence/album_repository.go
+++ b/persistence/album_repository.go
@@ -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 {
@@ -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 {