1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add filter by owner and team to issue/pulls search endpoint (#16662)

* Filter by owner and team in API issue/pulls search

* Add integration test
This commit is contained in:
Jimmy Praet
2021-08-13 22:47:25 +02:00
committed by GitHub
parent 3a6edd3685
commit a4962a9440
5 changed files with 87 additions and 3 deletions

View File

@@ -172,3 +172,15 @@
is_pull: false
created_unix: 1602935696
updated_unix: 1602935696
-
id: 15
repo_id: 5
index: 1
poster_id: 2
name: issue in repo not linked to team1
content: content
is_closed: false
is_pull: false
created_unix: 1602935696
updated_unix: 1602935696

View File

@@ -73,7 +73,7 @@
lower_name: repo5
name: repo5
is_private: true
num_issues: 0
num_issues: 1
num_closed_issues: 0
num_pulls: 0
num_closed_pulls: 0