X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9a846a3d4bd7411106c47b555a4126b1cad01d96..aa01fd254647f4a0b76852b3ab2773d60ffe6161:/SL/Controller/TopQuickSearch/Article.pm diff --git a/SL/Controller/TopQuickSearch/Article.pm b/SL/Controller/TopQuickSearch/Article.pm index 89f9d8d02..b0a28e00b 100644 --- a/SL/Controller/TopQuickSearch/Article.pm +++ b/SL/Controller/TopQuickSearch/Article.pm @@ -56,7 +56,7 @@ sub redirect_to_search { controller => 'ic.pl', action => 'generate_report', all => $term, - (searchitems => $self->type) x!!$self->type, + (searchitems => $self->part_type) x!!$self->part_type, ); } @@ -70,7 +70,7 @@ sub redirect_to_part { ); } -sub type { +sub part_type { () } @@ -82,7 +82,7 @@ sub init_models { model => 'Part', source => { filter => { - (type => $self->type) x!!$self->type, + (part_type => $self->part_type) x!!$self->part_type, 'all:substr:multi::ilike' => $::form->{term}, }, },