Open sofiaromorales opened 3 years ago
Rn the fetched time entries only corresponds to the current month
@sofiaromorales The current logic handles an start date (since) and an end date (until), then toggl uses a pagination I think it was 50 entries per page.
So I think this issue could be closed.
@sofiaromorales The current logic handles an start date (since) and an end date (until), then toggl uses a pagination I think it was 50 entries per page.
So I think this issue could be closed.
@mecoccaro I think the idea is that we allow a date range to be specified in the GraphQL API so we can expand on the functionality the frontend can do... which is not the case currently (https://github.com/setlife-network/trinary/blob/d84315600eb191e4cdadfcab971ab5cc76ddc611/api/schema/types/ProjectType.js#L138))
You are looking at the call to the API handler but that is not the same as it being usable for the purposes of syncing time entries with different date ranges
Read about reports and time entries pagination