X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FManager%2FRequirementSpecTextBlock.pm;fp=SL%2FDB%2FManager%2FRequirementSpecTextBlock.pm;h=cc192b3d8753277580eaffd83873dca3703670a1;hb=baac72df4777f1d63da63867e893c302b5c0bf5a;hp=0000000000000000000000000000000000000000;hpb=d17e1b9d1b761bb19d0cb79a742ea70a07028998;p=kivitendo-erp.git diff --git a/SL/DB/Manager/RequirementSpecTextBlock.pm b/SL/DB/Manager/RequirementSpecTextBlock.pm new file mode 100644 index 000000000..cc192b3d8 --- /dev/null +++ b/SL/DB/Manager/RequirementSpecTextBlock.pm @@ -0,0 +1,23 @@ +package SL::DB::Manager::RequirementSpecTextBlock; + +use strict; + +use SL::DB::Helper::Manager; +use base qw(SL::DB::Helper::Manager); + +use SL::DB::Helper::Sorted; + +sub object_class { 'SL::DB::RequirementSpecTextBlock' } + +__PACKAGE__->make_manager_methods; + +sub _sort_spec { + return ( + default => [ 'position', 1 ], + columns => { + SIMPLE => 'ALL', + map { ( $_ => "lower(requirement_spec_text_blocks.${_})" ) } qw(title text), + }); +} + +1;