mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-09 21:09:51 +00:00
add islocked filter to SeachIssuesRequest (#2623)
* add islocker filter to SeachIssuesRequest * update docs * Update docs/search.md with review suggestions Co-authored-by: Keegan Campbell <me@kfcampbell.com> Co-authored-by: notauserx <notauserx@users.noreply.github.com> Co-authored-by: Keegan Campbell <me@kfcampbell.com>
This commit is contained in:
@@ -61,6 +61,14 @@ request.Involves = "terrajobst";
|
||||
request.State = ItemState.All;
|
||||
// or to just search closed issues
|
||||
request.State = ItemState.Closed;
|
||||
|
||||
// you can filter by the "Is" qualifier
|
||||
// the enum IssueIsQualifier contains the supported values
|
||||
// you can filter for locked issues like this:
|
||||
request.Is = new List<IssueIsQualifier> {
|
||||
IssueIsQualifier.Issue,
|
||||
IssueIsQualifier.Locked
|
||||
};
|
||||
```
|
||||
|
||||
There's other options available to control how the results are returned:
|
||||
|
||||
Reference in New Issue
Block a user