Page 1 of 1

Querying on a metadata set item

Posted: Mon Mar 07, 2011 7:59 am
by david.huber0
Hi,

i'm currently working with the 6.0.1 scripts.
I have a profile which got one Parametric Search Fields that is a set. This set is named category.
For the sample the possible values ar cat1 and cat2.
I'm querying this profil with the following query :
$qpCat in category

It's ok to search for only one item (qpCat = cat1) and it returns me every item that has cat1 in its set.

But i don't know how to make it work with many items (qpcat = cat1,cat2)

Thanks in advance

Querying on a metadata set item

Posted: Mon Mar 07, 2011 10:11 am
by jason112
The February 10th texisScripts release enabled passing in the variable multiple times to specify multiple values. So the query would have

...&pr=myProfile&qpCat=cat1&qpCat=cat2&....

Querying on a metadata set item

Posted: Mon Mar 07, 2011 10:13 am
by jason112
David, it's a small script change to enable this, if you contact support@thunderstone.com we can advise you what you can tweak to get this behavior.