]> source.dussan.org Git - gitea.git/commit
[API] ListIssues add more filters (#16174)
author6543 <6543@obermui.de>
Wed, 16 Jun 2021 22:33:37 +0000 (00:33 +0200)
committerGitHub <noreply@github.com>
Wed, 16 Jun 2021 22:33:37 +0000 (18:33 -0400)
commit0e081ff0ce61227d5f34f1d7f8213d9f407f1f3d
treeff3bf587cf5af0cea1226b2fa219b27a3336594c
parentffbf35b7e9e2ea65525229f2c7d5a076c98e66ba
 [API] ListIssues add more filters (#16174)

* [API] ListIssues add more filters:
optional filter repo issues by:
 - since
 - before
 - created_by
 - assigned_by
 - mentioned_by

* Add Tests

* Update routers/api/v1/repo/issue.go

Co-authored-by: Lanre Adelowo <adelowomailbox@gmail.com>
* Apply suggestions from code review

Co-authored-by: Lanre Adelowo <adelowomailbox@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
integrations/api_issue_test.go
models/fixtures/issue_user.yml
routers/api/v1/repo/issue.go
templates/swagger/v1_json.tmpl