[ovirt-users] Re: how to put or conditions in filters in web admin gui

2019-10-02 Thread Gianluca Cecchi
On Wed, Oct 2, 2019 at 1:39 PM Martin Perina  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
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/FN2QXUQRNWUODYA6ZZCJZFNVMNDLME47/


[ovirt-users] Re: how to put or conditions in filters in web admin gui

2019-10-02 Thread Martin Perina
On Wed, Oct 2, 2019 at 1:08 PM Gianluca Cecchi 
wrote:

> On Wed, Oct 2, 2019 at 11:15 AM Lucie Leistnerova 
> 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=sharing
>
> host search
>
> https://drive.google.com/file/d/1gbFTuTo2BLDUfn1D0E0aG8iX_PbQpc8T/view?usp=sharing
>
> engine or host search (empty result list)
>
> https://drive.google.com/file/d/1SHeIqYbarzxbWX9r_jzuzeGCT8SXI63q/view?usp=sharing
>
> Gianluca
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/72QNKOBZDVDQBK7D4RQIJB56V2QRRPXS/


[ovirt-users] Re: how to put or conditions in filters in web admin gui

2019-10-02 Thread Gianluca Cecchi
On Wed, Oct 2, 2019 at 11:15 AM Lucie Leistnerova 
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=sharing

host search
https://drive.google.com/file/d/1gbFTuTo2BLDUfn1D0E0aG8iX_PbQpc8T/view?usp=sharing

engine or host search (empty result list)
https://drive.google.com/file/d/1SHeIqYbarzxbWX9r_jzuzeGCT8SXI63q/view?usp=sharing

Gianluca
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/


[ovirt-users] Re: how to put or conditions in filters in web admin gui

2019-10-02 Thread Lucie Leistnerova

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-le...@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/4YBSRN6DZIQUD6RIL3YIUXKMHZVYKEUL/


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/QTAYPI4SIOKT4IMZ3UES2KM64Z755Q3M/