Page 1 of 1

n.sortName() issue

Posted: 06 Feb 2021, 16:28
by hitchahike
Hi there,

I'm a new user. Happened to search on the Internet and came across this great software. I used it a little bit and found out that

n.sortName().space('.') renamed "Zombieland.Double.Tap.2019" to "Zombieland.-.Double.Tap.2019"

Sorry if this bug has been reported elsewhere as I haven't checked.

Thanks a lot,
Alfred.

Re: n.sortName() issue

Posted: 07 Feb 2021, 14:49
by rednoah
Yes, that would be the expected behaviour, no?


:idea: String.sortName() transforms value such as "The Movie" to "Movie, The" while passing through values such as "Zombieland" untouched, since there is no "The" that we could move to the end.

Re: n.sortName() issue

Posted: 08 Feb 2021, 04:48
by hitchahike
Sorry I checked and it's the other replacement, colon.(' - '), that I missed putting there as well. This is not a bug.