TopQuickSearch::Contact: fragment statt hash für for_url
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 15 Feb 2018 10:00:34 +0000 (11:00 +0100)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 15 Feb 2018 10:00:34 +0000 (11:00 +0100)
SL/Controller/TopQuickSearch/Contact.pm

index 9ffb5f6..b3e0d9e 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, 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 {