Revision 81be8de1
Von Bernd Bleßmann vor mehr als 3 Jahren hinzugefügt
SL/DB/Manager/TimeRecording.pm | ||
---|---|---|
7 | 7 |
|
8 | 8 |
use parent qw(SL::DB::Helper::Manager); |
9 | 9 |
|
10 |
use SL::DB::Helper::Sorted; |
|
11 |
|
|
10 | 12 |
sub object_class { 'SL::DB::TimeRecording' } |
11 | 13 |
|
12 | 14 |
__PACKAGE__->make_manager_methods; |
13 | 15 |
|
16 |
|
|
17 |
sub _sort_spec { |
|
18 |
return ( default => [ 'start_time', 1 ], |
|
19 |
columns => { SIMPLE => 'ALL' , |
|
20 |
customer => [ 'lower(customer.name)', ], |
|
21 |
} |
|
22 |
); |
|
23 |
} |
|
24 |
|
|
25 |
|
|
14 | 26 |
1; |
Auch abrufbar als: Unified diff
Zeiterfassung: Controller