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.
_______________________________________________
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/G44G2GJID6RSXP6OKYMF4IHZ76EVVA42/


--
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.