X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/bc89ebf428c7bde2205b31c5c9abb66879e673e4..23758ec05dbf09a977c9ad5e7880cde6c74cd78c:/SL/Controller/Project.pm diff --git a/SL/Controller/Project.pm b/SL/Controller/Project.pm index 14f27dc68..76f85b27a 100644 --- a/SL/Controller/Project.pm +++ b/SL/Controller/Project.pm @@ -90,7 +90,7 @@ sub action_destroy { flash_later('error', $::locale->text('The project is in use and cannot be deleted.')); } - $self->redirect_to(action => 'search'); + $self->redirect_to(action => 'list'); } sub action_ajax_autocomplete { @@ -99,8 +99,8 @@ sub action_ajax_autocomplete { $::form->{filter}{'all:substr:multi::ilike'} =~ s{[\(\)]+}{}g; # if someone types something, and hits enter, assume he entered the full name. - # if something matches, treat that as sole match - # unfortunately get_models can't do more than one per package atm, so we d it + # if something matches, treat that as the sole match + # unfortunately get_models can't do more than one per package atm, so we do it # the oldfashioned way. if ($::form->{prefer_exact}) { my $exact_matches;