From: Moritz Bunkus Date: Tue, 4 Nov 2014 10:09:43 +0000 (+0100) Subject: Pflichtenheftextblöcke: vordef Blöcke nach usable-Flag filtern X-Git-Tag: release-3.2.0beta~269 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8f9f54341530291a8ce3b267fdc63b74105f1d29;p=kivitendo-erp.git Pflichtenheftextblöcke: vordef Blöcke nach usable-Flag filtern --- diff --git a/SL/Controller/RequirementSpecTextBlock.pm b/SL/Controller/RequirementSpecTextBlock.pm index 86f09c2dd..d6e8c35a6 100644 --- a/SL/Controller/RequirementSpecTextBlock.pm +++ b/SL/Controller/RequirementSpecTextBlock.pm @@ -427,7 +427,7 @@ sub output_position_from_id { } sub init_predefined_texts { - return SL::DB::Manager::RequirementSpecPredefinedText->get_all_sorted; + return SL::DB::Manager::RequirementSpecPredefinedText->get_all_sorted(where => [ useable_for_text_blocks => 1 ]); } sub init_picture {