minPasswordLength not returning user back to systempreferences.pl?tab=Patrons. Incorr...
[koha.git] / admin / categorie.pl
index 886260a..70de773 100755 (executable)
@@ -48,7 +48,7 @@ sub StringSearch  {
        $searchstring=~ s/\'/\\\'/g;
        my @data=split(' ',$searchstring);
        my $count=@data;
-       my $sth=$dbh->prepare("Select * from categories where (description like ?) order by category_type,description");
+       my $sth=$dbh->prepare("Select * from categories where (description like ?) order by category_type,description,categorycode");
        $sth->execute("$data[0]%");
        my @results;
        while (my $data=$sth->fetchrow_hashref){
@@ -213,11 +213,5 @@ if ($op eq 'add_form') {
 
 
 } #---- END $OP eq DEFAULT
-
-
-$template->param(intranetcolorstylesheet => C4::Context->preference("intranetcolorstylesheet"),
-               intranetstylesheet => C4::Context->preference("intranetstylesheet"),
-               IntranetNav => C4::Context->preference("IntranetNav"),
-               );
 output_html_with_http_headers $input, $cookie, $template->output;