X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/713e05520188d0fe397d927a5a0506c42b424b33..53593baa211863fbf66540cf1bcc36c8fb37257f:/SL/Controller/TopQuickSearch/OERecord.pm diff --git a/SL/Controller/TopQuickSearch/OERecord.pm b/SL/Controller/TopQuickSearch/OERecord.pm index 3c6d2e3dd..d63dee03c 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_order) { + 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 { @@ -106,7 +115,7 @@ sub init_models { by => 'transdate', dir => 0, }, - transdate => t8('Transdate'), + transdate => t8('Date'), }, paginated => { per_page => 10,