X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FController%2FTopQuickSearch%2FOERecord.pm;h=ecbca130067e81ab32fcd8f0ee732897396997dc;hb=c3db1b36f46f3bb8fe278ad3320bc7b139278dc3;hp=8379608d4cdc7dad95eda63beb306ba77516393f;hpb=0070a2500fcd59d65a6f39a7a4e8d5eb9ef6cdbd;p=kivitendo-erp.git diff --git a/SL/Controller/TopQuickSearch/OERecord.pm b/SL/Controller/TopQuickSearch/OERecord.pm index 8379608d4..ecbca1300 100644 --- a/SL/Controller/TopQuickSearch/OERecord.pm +++ b/SL/Controller/TopQuickSearch/OERecord.pm @@ -64,13 +64,22 @@ sub redirect_to_search { } sub redirect_to_object { - SL::Controller::Base->new->url_for( - controller => 'oe.pl', - action => 'edit', - type => $_[0]->type, - vc => $_[0]->vc, - id => $_[1], - ); + if ($::instance_conf->get_feature_experimental) { + SL::Controller::Base->new->url_for( + controller => 'Order', + action => 'edit', + type => $_[0]->type, + id => $_[1], + ); + } else { + SL::Controller::Base->new->url_for( + controller => 'oe.pl', + action => 'edit', + type => $_[0]->type, + vc => $_[0]->vc, + id => $_[1], + ); + } } sub type {