iMtG Server: Gathering

Gathering Forums => Help for iMtG => Topic started by: Mytra on February 28, 2015, 06:49:37 AM

Title: Exclude Colour in Search
Post by: Mytra on February 28, 2015, 06:49:37 AM
I want exclude colours in card search.

I tried in predicate:
card.@colour != 'blue'

What is wrong with this term?
Title: Re: Exclude Colour in Search
Post by: Piotr on March 04, 2015, 01:15:27 PM
This field is numeric and @ is used for aggregates.

See http://imtgapp.com/forum/index.php?topic=21080.0

Try card.colour != 2
Title: Re: Exclude Colour in Search
Post by: Mytra on March 05, 2015, 04:44:07 PM
Thx, this work.

I tried a numeric value, before i asked. It seems i didn't understand where to use @.