Skip to content

Commit

Permalink
Add "project" to the IssueNoMetadataQualifier (#2227)
Browse files Browse the repository at this point in the history
Allows you to search for issues with no project.
  • Loading branch information
samhouts committed Feb 13, 2021
1 parent 6755553 commit 7400420
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Octokit/Models/Request/SearchIssuesRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public SearchIssuesRequest(string term) : base(term)
}

/// <summary>
/// Optional Sort field. One of comments, created, updated or merged
/// Optional Sort field. One of comments, created, updated or merged
/// If not provided, results are sorted by best match.
/// </summary>
/// <remarks>
Expand All @@ -56,7 +56,7 @@ public override string Sort
public IssueTypeQualifier? Type { get; set; }

/// <summary>
/// Qualifies which fields are searched. With this qualifier you can restrict
/// Qualifies which fields are searched. With this qualifier you can restrict
/// the search to just the title, body, comments, or any combination of these.
/// </summary>
/// <remarks>
Expand Down Expand Up @@ -108,7 +108,7 @@ public IEnumerable<IssueInQualifier> In
public string Commenter { get; set; }

/// <summary>
/// Finds issues that were either created by a certain user, assigned to that user,
/// Finds issues that were either created by a certain user, assigned to that user,
/// mention that user, or were commented on by that user.
/// </summary>
/// <remarks>
Expand Down Expand Up @@ -499,7 +499,9 @@ public enum IssueNoMetadataQualifier
[Parameter(Value = "milestone")]
Milestone,
[Parameter(Value = "assignee")]
Assignee
Assignee,
[Parameter(Value = "project")]
Project
}

[DebuggerDisplay("{DebuggerDisplay,nq}")]
Expand Down

0 comments on commit 7400420

Please sign in to comment.