Skip to content

-- #108528

Closed Answered by spenserblack
LilyEssence asked this question in Pull Requests
-- #108528
Feb 16, 2024 · 1 comment
Discussion options

You must be logged in to vote

I think that's the intended behavior? -draft:true is negating the filter, like "not draft is true." Why not just draft:false instead of -draft:true?

See also this tip at the top of the linked docs:

Use a minus (hyphen) symbol to exclude results that match a qualifier. For example, to ignore issues created by the "octocat" user, you'd use -author:octocat in your search.


Side note: I did notice that -FILTER negates some filters (like -review:approved gets PRs that are not approved), but the - seems to have no affect on other filters (is:open and -is:open both seem to show open issues). So it looks like the - doesn't apply to all filters.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by LilyEssence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Pull Requests
2 participants