michelengelen commented on issue #7510: URL: https://github.com/apache/incubator-devlake/issues/7510#issuecomment-2789183850
> [@michelengelen](https://github.com/michelengelen) Thanks for the information, I could most certainly check my implementation. However, I don't understand what I should look for. > > We need the records to be filtered by `UPDATE_AT` and ordered by `CREATED_AT`, And what you said was merely "ordering by `UPDATED_AT`". They are different, can you understand that? Yes, you are right @klesh ... I misunderstood your first message. Apologies! But as i can see it should be possible to do ... - sort by `CREATED_AT` - filter by `UPDATED_AT` ... with the current GitHub API as well: ```graphql { repository(owner: "mui", name: "mui-x") { issues( states: [OPEN], first: 5, orderBy: { field:CREATED_AT, direction:ASC, }, filterBy: { since: "2022-04-29T17:46:47Z", }, ) { nodes { id title createdAt updatedAt } } } } ``` This results in: ```json { "data": { "repository": { "issues": { "nodes": [ { "id": "MDU6SXNzdWUyNDIxNDczMjg0", "title": "Add Onboarding/Feature Discover/Tour components", "createdAt": "2018-03-01T21:03:25Z", "updatedAt": "2024-08-04T21:48:58Z" }, { "id": "MDU6SXNzdWU3MzMyNjE2OTA=", "title": "Add Cascader component", "createdAt": "2019-04-11T15:41:12Z", "updatedAt": "2024-06-18T09:45:20Z" }, { "id": "MDU6SXNzdWU3MzMyNjE3OTk=", "title": "Add Splitter component", "createdAt": "2019-04-16T15:28:50Z", "updatedAt": "2024-09-25T04:25:41Z" }, { "id": "MDU6SXNzdWU3MzMyNjIyNjM=", "title": "Add Rich Text Editor", "createdAt": "2019-06-12T19:39:58Z", "updatedAt": "2024-08-05T21:26:23Z" }, { "id": "MDU6SXNzdWU3MzMyNjI0NzE=", "title": "Add Tree Select component", "createdAt": "2019-06-14T12:13:39Z", "updatedAt": "2024-12-21T23:53:37Z" } ] } } } } ``` The only limitation here seems to be that the `filterBy` is basically only filterable by `since`. It seems that should cover it, right? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org