Index: /home/mh/eclipse/SVN/Slim/Web/Pages.pm =================================================================== --- /home/mh/eclipse/SVN/Slim/Web/Pages.pm (revision 3148) +++ /home/mh/eclipse/SVN/Slim/Web/Pages.pm (working copy) @@ -69,14 +69,7 @@ my $terms = shift; my $type = shift || 'track'; - my $sortBy = 'title'; - my %find = (); - - for my $string (@{$terms}) { - push @{$find{'track.titlesort'}}, [ $string ]; - } - - return $ds->find($type, \%find, $sortBy); + return $ds->find($type, { "track.titlesort" => $terms }, 'title'); }, 'listItem' => sub { Index: /home/mh/eclipse/SVN/Slim/Buttons/BrowseDB.pm =================================================================== --- /home/mh/eclipse/SVN/Slim/Buttons/BrowseDB.pm (revision 3148) +++ /home/mh/eclipse/SVN/Slim/Buttons/BrowseDB.pm (working copy) @@ -503,7 +503,7 @@ if ($level == 0) { if ($search) { my $plural = scalar @$items > 1 ? 'S' : ''; - $header = $client->string(uc($levels[$level]).$plural.'MATCHING') . " \"" . searchTerm($search->[0]) . "\""; + $header = $client->string(uc($levels[$level]).$plural.'MATCHING') . " \"" . searchTerm($search) . "\""; } else { $header = $client->string($levelInfo->{'title'});