From: Sven Schöling Date: Wed, 14 Feb 2018 13:02:48 +0000 (+0100) Subject: TopQuickSearch::Contacts: direkt auf den Ansprechpartner tab springen X-Git-Tag: release-3.5.4~460 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=932f289597f4466ab198317b7edaa474ed9ed45d;p=kivitendo-erp.git TopQuickSearch::Contacts: direkt auf den Ansprechpartner tab springen --- diff --git a/SL/Controller/TopQuickSearch/Contact.pm b/SL/Controller/TopQuickSearch/Contact.pm index 322df3763..9ffb5f685 100644 --- a/SL/Controller/TopQuickSearch/Contact.pm +++ b/SL/Controller/TopQuickSearch/Contact.pm @@ -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 {