Pflichtenheftextblöcke: vordef Blöcke nach usable-Flag filtern
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 4 Nov 2014 10:09:43 +0000 (11:09 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 5 Nov 2014 08:11:39 +0000 (09:11 +0100)
SL/Controller/RequirementSpecTextBlock.pm

index 86f09c2..d6e8c35 100644 (file)
@@ -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 {