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