Skip to content

Commit 3401b39

Browse files
committed
refactor: TT-185 add time_entries_id in condition
1 parent be72ff8 commit 3401b39

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
@@ -202,6 +202,7 @@ def find_all(
202202
def find_all_v2(
203203
self,
204204
event_context: EventContext,
205+
time_entries_id: List[str],
205206
owner_id_list: List[str],
206207
date_range: tuple = None,
207208
fields: dict = None,
@@ -215,6 +216,7 @@ def find_all_v2(
215216
query_builder = (
216217
TimeEntryQueryBuilder()
217218
.add_sql_date_range_condition(date_range)
219+
.add_sql_in_condition(time_entries_id)
218220
.add_sql_in_condition(owner_id_list)
219221
.add_sql_where_equal_condition(fields)
220222
.add_sql_limit_condition(limit)

0 commit comments

Comments
 (0)