Bug 1328708 - RFE: please support "or" for multiple search condition
Summary: RFE: please support "or" for multiple search condition
Keywords:
Status: CLOSED DUPLICATE of bug 596964
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: develop
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: beaker-dev-list
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-20 06:29 UTC by Xuesong Zhang
Modified: 2016-04-20 06:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-20 06:41:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Xuesong Zhang 2016-04-20 06:29:57 UTC
Description of problem:
While seaching the systems in Beaker, there are multi search conditions, but the result is only the "and" result of the multi search conditions. It's not convenient while I'd like to see the "or" result of these conditons.
Would you please implement this feature in the Beaker WebUI? Thanks.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Dan Callaghan 2016-04-20 06:41:55 UTC

*** This bug has been marked as a duplicate of bug 596964 ***

Comment 2 Dan Callaghan 2016-04-20 06:46:05 UTC
Note that you *can* construct arbitrarily complex filters using the XML filtering language from <hostRequires/>. The same filters are accepted on the CLI, and in the web UI, for example:

bkr list-systems --xml-filter '<or><hostname value="bob"/><hostname value="fred"/></or>'

https://$BEAKER/?xmlsearch=<or><hostname+value="bob"/><hostname+value="fred"/></or>


Note You need to log in before you can comment on or make changes to this bug.