TopQuickSearch::Contacts: direkt auf den Ansprechpartner tab springen
authorSven Schöling <s.schoeling@linet-services.de>
Wed, 14 Feb 2018 13:02:48 +0000 (14:02 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 14 Feb 2018 13:02:48 +0000 (14:02 +0100)
SL/Controller/TopQuickSearch/Contact.pm

index 322df37..9ffb5f6 100644 (file)
@@ -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, db => db_for_contact($contact));
+  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');
 }
 
 sub do_search {