how to put or conditions in filters in web admin gui

Hello, environment tin 4.3.6. Suppose I'm in Web Admin GUI in Storage --> Disks and I want to get displayed only the disks with "pattern1" together with the disks with "string2" ("or" condition), limiting output to these two conditions, how can I do it? I tried some combinations without success BTW: also the "and" condition seems not to work Thanks, Gianluca

Hi Gianluca, 'or' should work, please send what exact search you enter in the box. Thanks. On 10/2/19 11:05 AM, Gianluca Cecchi wrote:
Hello, environment tin 4.3.6. Suppose I'm in Web Admin GUI in Storage --> Disks and I want to get displayed only the disks with "pattern1" together with the disks with "string2" ("or" condition), limiting output to these two conditions, how can I do it? I tried some combinations without success
BTW: also the "and" condition seems not to work
Thanks, Gianluca
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/4YBSRN6DZIQUD6...
-- Lucie Leistnerova Senior Quality Engineer, QE Cloud, RHVM Red Hat EMEA IRC: lleistne @ #rhev-qe

On Wed, Oct 2, 2019 at 11:15 AM Lucie Leistnerova <lleistne@redhat.com> wrote:
Hi Gianluca,
'or' should work, please send what exact search you enter in the box.
Thanks. On 10/2/19 11:05 AM, Gianluca Cecchi wrote:
Hello, environment tin 4.3.6. Suppose I'm in Web Admin GUI in Storage --> Disks and I want to get displayed only the disks with "pattern1" together with the disks with "string2" ("or" condition), limiting output to these two conditions, how can I do it? I tried some combinations without success
BTW: also the "and" condition seems not to work
engine search https://drive.google.com/file/d/1kglcnmLMUzgIKxOvjqJt8B1uppLhqQNU/view?usp=s... host search https://drive.google.com/file/d/1gbFTuTo2BLDUfn1D0E0aG8iX_PbQpc8T/view?usp=s... engine or host search (empty result list) https://drive.google.com/file/d/1SHeIqYbarzxbWX9r_jzuzeGCT8SXI63q/view?usp=s... Gianluca

On Wed, Oct 2, 2019 at 1:08 PM Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
On Wed, Oct 2, 2019 at 11:15 AM Lucie Leistnerova <lleistne@redhat.com> wrote:
Hi Gianluca,
'or' should work, please send what exact search you enter in the box.
Thanks. On 10/2/19 11:05 AM, Gianluca Cecchi wrote:
Hello, environment tin 4.3.6. Suppose I'm in Web Admin GUI in Storage --> Disks and I want to get displayed only the disks with "pattern1" together with the disks with "string2" ("or" condition), limiting output to these two conditions, how can I do it? I tried some combinations without success
BTW: also the "and" condition seems not to work
Hi Gianluca,
when using condition you need to use key and not just value, so below should just work fine: Disks: name=engine* or name=host* Disks: alias=engine* or alias=host* name and alias are similar (mapped to the same database field) and they are default for disks search, so below should produce same results: Disks: engine Disks: name=engine* Disks: alias=engine* You just need to be aware that if you use key name, you need to append '*' to search for prefix, otherwise you search for exact value. Regards, M.
engine search
https://drive.google.com/file/d/1kglcnmLMUzgIKxOvjqJt8B1uppLhqQNU/view?usp=s...
host search
https://drive.google.com/file/d/1gbFTuTo2BLDUfn1D0E0aG8iX_PbQpc8T/view?usp=s...
engine or host search (empty result list)
https://drive.google.com/file/d/1SHeIqYbarzxbWX9r_jzuzeGCT8SXI63q/view?usp=s...
Gianluca
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/G44G2GJID6RSXP...
-- Martin Perina Manager, Software Engineering Red Hat Czech s.r.o.

On Wed, Oct 2, 2019 at 1:39 PM Martin Perina <mperina@redhat.com> wrote:
Hi Gianluca,
when using condition you need to use key and not just value, so below should just work fine:
Disks: name=engine* or name=host* Disks: alias=engine* or alias=host*
Thanks Martin. I confirm both of the above work. Gianluca
participants (3)
-
Gianluca Cecchi
-
Lucie Leistnerova
-
Martin Perina