mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Fix sanitizing accented articles
This commit is contained in:
parent
e50a720818
commit
28aefb4858
1 changed files with 2 additions and 3 deletions
|
@ -60,9 +60,8 @@ func (s *mediaFileMapper) toMediaFile(md *Metadata) model.MediaFile {
|
|||
}
|
||||
|
||||
func sanitizeFieldForSorting(originalValue string) string {
|
||||
v := utils.NoArticle(originalValue)
|
||||
v = strings.TrimSpace(sanitize.Accents(v))
|
||||
return v
|
||||
v := strings.TrimSpace(sanitize.Accents(originalValue))
|
||||
return utils.NoArticle(v)
|
||||
}
|
||||
|
||||
func (s *mediaFileMapper) mapTrackTitle(md *Metadata) string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue