Actually, I am surprised that
Visible eq 'Yes'
works. In principle, you should use an SQL-like statement, e.g.
Visible = Yes
(no quotes). If you want to use the condition you mentionnend, then you would have to write
Visible = Yes Priority = 1
Technical note: the whole string is split on whitespace, and the resulting arguments are then used as arguments of a GT::SQL::Condition object. If an argument starts with a backslash, the argument (without backslash) will be referenced. You can use SQL type operators, e.g. LIKE. So
FirstName LIKE Alex%
will be translated into
GT::SQL::Condition->new('FirstName', 'LIKE', 'Alex%');
I hope this makes sense.
Ivan
-----
Iyengar Yoga Resources /
GT Plugins