PasTim wrote: > A proper fix needs knowledge of precisely how the 'search' form and > 'sort' forms are derived (in many different languages) so that $sort and > $search can be properly compared and seen to be equal or not. > > I hope that makes sense! > > Edit: I have since raised a bug, and worked out a better fix, > documented in bug #18131
Here's part of the problem: my $search = Slim::Utils::Text::ignoreCaseArticles($name, 1); my $sort = Slim::Utils::Text::ignoreCaseArticles(($sortedList[$i] || $name)); The second argument to Slim::Utils::Text::ignoreCaseArticles() tells it to transliterate the search string. This isn't being done to the sort string. The fix may be as simple as: my $sort = Slim::Utils::Text::ignoreCaseArticles(($sortedList[$i] || $name), 1); Just as long as the transliterated strings sort properly (or as expected). Apparently the transliteration was added when searching for accented characters failed following the adoption of case and character-sensitive names. http://bugs.slimdevices.com/show_bug.cgi?id=16956 > Andy Grundman 2011-04-29 06:48:28 MDT > > The search value is now the same as sort but with transliteration. > Before, search was always the same as sort. Nothing else should have > changed. ------------------------------------------------------------------------ JJZolx's Profile: http://forums.slimdevices.com/member.php?userid=10 View this thread: http://forums.slimdevices.com/showthread.php?t=103454 _______________________________________________ beta mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/beta
