From 1e1b9a69193b9adad210865110a2de1048e4f843 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Sun, 16 Oct 2022 12:01:57 +0200 Subject: [PATCH] allow to order by hourlyRate (#3582) --- src/Repository/Query/TimesheetQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Repository/Query/TimesheetQuery.php b/src/Repository/Query/TimesheetQuery.php index 542b6b7e..73aaa4d4 100644 --- a/src/Repository/Query/TimesheetQuery.php +++ b/src/Repository/Query/TimesheetQuery.php @@ -28,7 +28,7 @@ class TimesheetQuery extends ActivityQuery implements BillableInterface public const STATE_EXPORTED = 4; public const STATE_NOT_EXPORTED = 5; - public const TIMESHEET_ORDER_ALLOWED = ['begin', 'end', 'duration', 'rate', 'customer', 'project', 'activity', 'description']; + public const TIMESHEET_ORDER_ALLOWED = ['begin', 'end', 'duration', 'rate', 'hourlyRate', 'customer', 'project', 'activity', 'description']; /** * @var User|null