X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FProject.pm;h=76f85b27a64a7c470a0a8de9c5e784f9b2a846f3;hb=9adbf7668b63a144d1191575ca1e8e2a9aa87e02;hp=14f27dc683b6b5e01ac9aa1fba036ac7dd73abf8;hpb=bc89ebf428c7bde2205b31c5c9abb66879e673e4;p=kivitendo-erp.git 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;