X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/932f289597f4466ab198317b7edaa474ed9ed45d..53593baa211863fbf66540cf1bcc36c8fb37257f:/SL/Controller/TopQuickSearch/Contact.pm diff --git a/SL/Controller/TopQuickSearch/Contact.pm b/SL/Controller/TopQuickSearch/Contact.pm index 9ffb5f685..e0e915d91 100644 --- a/SL/Controller/TopQuickSearch/Contact.pm +++ b/SL/Controller/TopQuickSearch/Contact.pm @@ -8,7 +8,7 @@ use SL::DB::Vendor; use SL::DBUtils qw(selectfirst_array_query like); use SL::Locale::String qw(t8); -sub auth { 'customer_vendor_edit' } +sub auth { undef } sub name { 'contact' } @@ -58,7 +58,7 @@ sub select_autocomplete { my $contact = SL::DB::Manager::Contact->find_by(cp_id => $::form->{id}); - SL::Controller::CustomerVendor->new->url_for(action => 'edit', id => $contact->cp_cv_id, contact_id => $contact->cp_id, db => db_for_contact($contact), hash => 'contacts'); + SL::Controller::CustomerVendor->new->url_for(action => 'edit', id => $contact->cp_cv_id, contact_id => $contact->cp_id, db => db_for_contact($contact), fragment => 'contacts'); } sub do_search {