mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +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 {
|
func sanitizeFieldForSorting(originalValue string) string {
|
||||||
v := utils.NoArticle(originalValue)
|
v := strings.TrimSpace(sanitize.Accents(originalValue))
|
||||||
v = strings.TrimSpace(sanitize.Accents(v))
|
return utils.NoArticle(v)
|
||||||
return v
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *mediaFileMapper) mapTrackTitle(md *Metadata) string {
|
func (s *mediaFileMapper) mapTrackTitle(md *Metadata) string {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue