> > Anyway, is it possible to achieve the same in the search itself?
>
> Yep. Try
>
> [(search group=news.2008.* template="new" if="equal {+p0} 3")]
>
> You can use any conditional in a search template and it's faster.
Thank you Dan, I forgot the "if" parameter!
I discovered that your solution solves another problem: when I used
the "count" parameter to limit the number or results and the condition
was in the template, the unmatched items were of course included in
the count, so I got fewer listed items than expected.
Marcos
--
http://alinome.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---