From: Moritz Bunkus Date: Wed, 2 Apr 2014 12:08:57 +0000 (+0200) Subject: Pflichtenheftsuche: bei Vorlagen nicht nach Status filtern X-Git-Tag: release-3.2.0beta~467^2~6 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f203bc24057969b15c414e84272afb6bbd740e77;p=kivitendo-erp.git Pflichtenheftsuche: bei Vorlagen nicht nach Status filtern --- diff --git a/SL/Controller/RequirementSpec.pm b/SL/Controller/RequirementSpec.pm index 72d5859f0..0e9d84856 100644 --- a/SL/Controller/RequirementSpec.pm +++ b/SL/Controller/RequirementSpec.pm @@ -450,7 +450,7 @@ sub render_pasted_text_block { sub set_default_filter_args { my ($self) = @_; - if (!$::form->{filter}) { + if (!$::form->{filter} && !$::form->{is_template}) { $::form->{filter} = { status_id => [ map { $_->{id} } grep { $_->name ne 'done' } @{ $self->statuses } ], };