X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d582b83d62fea84292843a34dcee163929a4384e..4c9d45bf6dc8697327cc6e49f94c56426e67354f:/SL/DB/Manager/Unit.pm diff --git a/SL/DB/Manager/Unit.pm b/SL/DB/Manager/Unit.pm new file mode 100644 index 000000000..8b3c138a8 --- /dev/null +++ b/SL/DB/Manager/Unit.pm @@ -0,0 +1,21 @@ +package SL::DB::Manager::Unit; + +use strict; + +use SL::DB::Helper::Manager; +use base qw(SL::DB::Helper::Manager); + +use SL::DB::Helper::Sorted; + +sub object_class { 'SL::DB::Unit' } + +__PACKAGE__->make_manager_methods; + +sub _sort_spec { + return ( default => [ 'sortkey', 1 ], + columns => { SIMPLE => 'ALL', + name => 'lower(name)', + }); +} + +1;