From f203bc24057969b15c414e84272afb6bbd740e77 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 2 Apr 2014 14:08:57 +0200 Subject: [PATCH] Pflichtenheftsuche: bei Vorlagen nicht nach Status filtern --- SL/Controller/RequirementSpec.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } ], }; -- 2.20.1