Skip to content

Commit 91e6bfa

Browse files
authored
fix: TT-231 adjust time entries order items by start date (#285)
Co-authored-by: Pablo <Solorzano>
1 parent 4bc4ed2 commit 91e6bfa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

time_tracker_api/time_entries/time_entries_repository.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ def find_all(
262262
{visibility_condition}
263263
{test_users_exclusion_condition}
264264
{custom_sql_conditions_clause}
265+
{order_clause}
265266
OFFSET @offset LIMIT @max_count
266267
""".format(
267268
partition_key_attribute=self.partition_key_attribute,
@@ -275,6 +276,7 @@ def find_all(
275276
custom_sql_conditions_clause=self.create_custom_sql_conditions(
276277
custom_sql_conditions
277278
),
279+
order_clause=self.create_sql_order_clause(),
278280
)
279281

280282
result = self.container.query_items(

0 commit comments

Comments
 (0)