Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Search by label using logical OR #660

Closed

Description

@superkhau

I want to filter labels using a query like label:bug OR label:feature. Is there a way to do this? Seems to only support AND ATM.

Activity

  1. TPS commented on May 2, 2016

    @TPS
    Collaborator

    Should probably be implemented along with #65. 👍

  2. davidschreiber commented on Sep 22, 2016

    @davidschreiber
  3. OliverJAsh commented on Jan 3, 2017

    @OliverJAsh

    This has been changed in the current GitHub version: By default labels now use OR

    I'm not seeing this. If I filter by two labels, the search performs an AND

  4. bltierney commented on Apr 29, 2017

    @bltierney

    seems to be an 'AND' for both labels in a single issue. What I want is an OR across all issues.

  5. rue-dluria commented on May 8, 2017

    @rue-dluria

    Having an option between OR and AND would be fantastic - a use case at my org is that many of our PRs have a help wanted or ready for review label, both of which mean that the PR needs attention, and there's no way to have a single filter that captures both.

  6. avalan4e57 commented on Aug 3, 2017

    @avalan4e57

    That would be quite helpful! It was a surprise for me when I've found out that there could be no optional logical operators for search.

  7. jkassisbw commented on Oct 4, 2017

    @jkassisbw
  8. anatoliyarkhipov commented on Oct 26, 2017

    @anatoliyarkhipov

    Also it would be nice to have OR for search by authors

  9. tseabra commented on Oct 26, 2017

    @tseabra

    For me its review :)
    Suggestions:

    • review:none,changes_requested
    • review:none|changes_requested
    • review:none or review:changes_requested
  10. alexfornuto commented on Nov 20, 2017

    @alexfornuto
  11. OBreidenbach commented on Nov 30, 2017

    @OBreidenbach

    +1
    An 'or' would be great. ;-)

  12. malyuk commented on Dec 5, 2017

    @malyuk
  13. malyuk commented on Dec 5, 2017

    @malyuk

    @jotaen - I am sorry about this. I was just over excited about possibility to use logical OR in issues filtering and wanted to upvote :) 3 different teams are using shared repo for issue tracking on our end which creates a need for labeling that looks like this:
    image

    Once I want to see all issues that are in QA, I have to go over each label and look at them individually. Ideally, I would like to sum them up.

  14. 69 remaining items

  15. Levi-Lesches commented on Jul 6, 2021

    @Levi-Lesches
    Contributor

    To be fair, closing an issue does nothing in terms of moving content. A bot can still read and move the comments and even a clossed issue can still be converted to a discussion (just tested to make sure). I think the issues here should be closed to indicate that future discussion should be done on the official forums and that this is here just for archival purposes.

    What's likely to happen in terms of migration is that issues will be transferred to github/feedback and then converted to discussions there. Again, no impact if the issue is closed.

  16. 0xdevalias commented on Jul 7, 2021

    @0xdevalias

    There may be no ‘technical limitation’, but by closing the issue it will likely fade into the noise of irrelevant/already fixed/duplicate/etc issues. It’s still an issue, thus it should stay open. At least until any official advice otherwise.

  17. michellemerrill commented on Jul 21, 2021

    @michellemerrill
    Collaborator

    👋🏼 hi everyone, closing this issue in favor of community/community#4507 - be sure to watch this space for updates on this enhancement soon!

  18. Repository owner locked as resolved and limited conversation to collaborators on Jul 21, 2021
  19. TPS commented on Jul 21, 2021

    @TPS
    Collaborator

    @michellemerrill Locked resolved doesn't seem quite right yet… or does your update have that quick an ETA? 🤔

  20. michellemerrill commented on Jul 21, 2021

    @michellemerrill
    Collaborator

    @TPS I agree -- I was locking it temporarily as we received some spam on it (which now looks to be deleted) -- unlocking, but keeping closed as we will comment on updates in the discussions thread. Stay tuned... soon!!!

  21. Repository owner unlocked this conversation on Jul 21, 2021
  22. RanganaFernando commented on Jul 22, 2021

    @RanganaFernando

    If Google owns Github, they will definitely give this feature.
    but you know Microsoft, they don't care

  23. emmaviolet commented on Aug 2, 2021

    @emmaviolet
  24. TPS commented on Aug 2, 2021

    @TPS
    Collaborator

    @emmaviolet Just to find out, is that comma syntax usable w/ any other filters, e.g., user:, org:, &c?

  25. emmaviolet commented on Aug 5, 2021

    @emmaviolet

    Just to find out, is that comma syntax usable w/ any other filters, e.g., user:, org:, &c?

    @TPS sorry, I missed this! Currently this only works with issue labels. We could look into the others though :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementimplementedparitysearch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions