Zeiterfassung: Bericht: Einige Sortierungen repariert
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Thu, 24 Jun 2021 07:43:21 +0000 (09:43 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Thu, 24 Jun 2021 07:48:59 +0000 (09:48 +0200)
SL/DB/Manager/TimeRecording.pm

index edb6d1b..2a8677d 100644 (file)
@@ -21,11 +21,14 @@ sub _sort_spec {
              start_time => 'FIRST',
              end_time   => 'FIRST',
            },
-           columns => { SIMPLE     => 'ALL' ,
-                        start_time => [ 'date', 'start_time' ],
-                        end_time   => [ 'date', 'end_time' ],
-                        customer   => [ 'lower(customer.name)', 'date','start_time'],
-                        order      => [ 'order.ordnumber', 'date','start_time'],
+           columns => { SIMPLE       => 'ALL' ,
+                        start_time   => [ 'date', 'start_time' ],
+                        end_time     => [ 'date', 'end_time' ],
+                        customer     => [ 'lower(customer.name)', 'date','start_time'],
+                        staff_member => [ 'lower(staff_member.name)', 'date','start_time'],
+                        order        => [ 'order.ordnumber', 'date','start_time'],
+                        part         => [ 'lower(part.partnumber)', 'date','start_time'],
+                        project      => [ 'lower(project.projectnumber)', 'date','start_time'],
            }
   );
 }