mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-12 21:32:17 +03:00
Fix Artist full_text refresh
This commit is contained in:
parent
7819e834c8
commit
9bcd606fe8
@ -56,8 +56,8 @@ func (r *artistRepository) Exists(id string) (bool, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (r *artistRepository) Put(a *model.Artist) error {
|
func (r *artistRepository) Put(a *model.Artist) error {
|
||||||
|
a.FullText = getFullText(a.Name, a.SortArtistName)
|
||||||
dba := r.fromModel(a)
|
dba := r.fromModel(a)
|
||||||
a.FullText = getFullText(dba.Name, dba.SortArtistName)
|
|
||||||
_, err := r.put(dba.ID, dba)
|
_, err := r.put(dba.ID, dba)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user