Querying on a metadata set item

Post Reply
david.huber0
Posts: 22
Joined: Wed Mar 03, 2010 5:47 am

Querying on a metadata set item

Post 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
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Querying on a metadata set item

Post 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&....
User avatar
jason112
Site Admin
Posts: 347
Joined: Tue Oct 26, 2004 5:35 pm

Querying on a metadata set item

Post 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.
Post Reply