X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=SL%2FController%2FChart.pm;h=0e3e2b6fc2a46e701baade1b676c71f948e1bbd5;hb=c2efdba2dfa10e76937e4bdf5a18e5483d0cddb0;hp=bd77e36890eb9335290fc7a1882ae97073fe282a;hpb=a18b9450d56727749a09c845204df2885a687fc2;p=kivitendo-erp.git diff --git a/SL/Controller/Chart.pm b/SL/Controller/Chart.pm index bd77e3689..0e3e2b6fc 100644 --- a/SL/Controller/Chart.pm +++ b/SL/Controller/Chart.pm @@ -29,6 +29,7 @@ sub action_ajax_autocomplete { if (1 == scalar @{ $exact_matches = SL::DB::Manager::Chart->get_all( query => [ SL::DB::Manager::Chart->type_filter($::form->{filter}{type}), + charttype => 'A', or => [ description => { ilike => $::form->{filter}{'all:substr:multi::ilike'} }, accno => { ilike => $::form->{filter}{'all:substr:multi::ilike'} }, @@ -108,6 +109,9 @@ sub init_models { accno => t8('Account number'), description => t8('Description'), }, + query => [ + charttype => 'A', + ], ); }