mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-21 22:55:12 +00:00
tweaks
This commit is contained in:
@@ -10,11 +10,10 @@ on the GitHub or GitHub Enterprise server:
|
|||||||
|
|
||||||
## Search Issues
|
## Search Issues
|
||||||
|
|
||||||
You can search for issues containing a given phrase across many
|
A common scenario is to search for issues to triage:
|
||||||
repositories:
|
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
// searching without specifying a term
|
// you can also specify a search term here
|
||||||
var request = new SearchIssuesRequest();
|
var request = new SearchIssuesRequest();
|
||||||
|
|
||||||
// you should focus your search to a specific repo
|
// you should focus your search to a specific repo
|
||||||
@@ -63,7 +62,7 @@ request.State = ItemState.All;
|
|||||||
request.State = ItemState.Closed;
|
request.State = ItemState.Closed;
|
||||||
```
|
```
|
||||||
|
|
||||||
And there's other options available for how the results are returned:
|
There's other options available to control how the results are returned:
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
request.SortField = IssueSearchSort.Created;
|
request.SortField = IssueSearchSort.Created;
|
||||||
|
|||||||
Reference in New Issue
Block a user