Bug 1328708

Summary: RFE: please support "or" for multiple search condition
Product: [Retired] Beaker Reporter: Xuesong Zhang <xuzhang>
Component: web UIAssignee: beaker-dev-list
Status: CLOSED DUPLICATE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: developCC: dcallagh, mjia, rjoost
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 06:41:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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>