Searching for multiple tags

ebdb's Avatar

ebdb

21 Feb, 2008 07:26 PM

I'd like to do a search like this: "find all tickets for the next milestone that are tagged with either "sometag" or "someothertag".

In the docs I found that you can do "tagged:sometag tagged:someothertag", but that does an "AND" search. Tickets have to have BOTH of those tags to be found. I want an "OR" search -- all tickets that have either one or the other of those tags.

How do I do that?

Thanks,

Ethan

  1. 1 Posted by Rick on 21 Feb, 2008 07:38 PM

    Rick's Avatar

    You can't right now. Maybe I could add a keyword to enable OR searching for tags?

    "tagged:one tagged:two operator:or"

    I'd probably allow 'op' as a shortcut too. Thoughts?

  2. 2 Posted by ebdb on 21 Feb, 2008 08:07 PM

    ebdb's Avatar

    It would be easier for users if you could do this:

    milestone:next AND ( tagged:one OR tagged:two )

    That's simpler and easier to remember than

    tagged:one tagged:two operator:or

    It's also the way search boxes usually work, which means less work explaining and learning for both you and your users. I've never seen a search feature that uses something like "op:or".

    E

  3. 3 Posted by Rick on 21 Feb, 2008 10:57 PM

    Rick's Avatar

    Yup, but that's much harder to parse on my end. This may have to wait until I can move to sphinx or something.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac