Search by label using logical OR #4507
-
Based on all the feedback received at isaacs/github#660 over the last 5 years, I would like to keep the conversation going. The original content of the post was:
|
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 2 replies
-
Note that the original issue has:
|
Beta Was this translation helpful? Give feedback.
-
Hi everyone 👋, you can now search issues by label using logical OR. Simply use a comma to separate the labels. For example |
Beta Was this translation helpful? Give feedback.
-
This works in pull requests and issues lists in the repository. Unfortunately, this feature does not work in generic view for PRs/issues like https://github.com/pulls or https://github.com/issues. When I try to use it there, |
Beta Was this translation helpful? Give feedback.
-
Could this be added to the documentation? https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax does not mention this feature, nor is it exposed or mentioned in advanced search |
Beta Was this translation helpful? Give feedback.
-
OK, works for labels. That was the initial ask. But in the thread thread there was a lot of suggestions regarding this kind of feature for the other attributes (title, user, body etc) which seems logical. Will these be covered too? |
Beta Was this translation helpful? Give feedback.
-
What about other keys other than |
Beta Was this translation helpful? Give feedback.
-
Id love to be able to serach for |
Beta Was this translation helpful? Give feedback.
-
For those still following along here, wanted to flag this discussion for the private beta of advanced search for Issues, including |
Beta Was this translation helpful? Give feedback.
-
I noticed this was introduced to the issues page. Its great to see this sort of functionality being implemented. However, I would love for this to be available for GitHub Projects. I think functionality like this is most useful in Projects, where I want to be able to build complex queries that are persistent. Having this sort of functionality on the issues page is nice but I only use that page when searching for issues adhoc. Projects is really where I want to be able to use complex queries. |
Beta Was this translation helpful? Give feedback.
Hi everyone 👋, you can now search issues by label using logical OR. Simply use a comma to separate the labels. For example
label:"good first issue",bug
will list all issues with a labelgood first issue
orbug
. See https://github.blog/changelog/2021-08-02-search-issues-by-label-using-logical-or/ .