SID-01734: How to perform nested search inside LISTEACH variable
| Status: |
Answered |
TWiki version: |
5.1.4 |
Perl version: |
|
| Category: |
CategorySearch |
Server OS: |
Ubuntu |
Last update: |
10 years ago |
Hello,
I have this query inside a LISTEACH variable. The first search work but i could not figure out the proper syntax for the nested one. I use
$percnt,
nop tag, still it just break my query.
%CALC{$LISTJOIN($n , $LISTMAP(* $item - (%)SEARCH{"META:FIELD.*Applies to.*$item;META:FIELD.*Task state.*Open;" type="regex" order="modified" web="Activity" reverse="on" limit="10" nonoise="on" separator=" " format="$n * [[$topic]]" }$NOP(%), $LISTUNIQUE(%ACTIVE_TASK%)))}%
Can somebody please show me the proper syntax?
Thanks
--
Michael Severo - 2013-06-13
Discussion and Answer
Use
%CALCULATE instead of
%CALC - you might need to upgrade the plugin. Escape the search with
$NOP(%)SEARCH{...}$NOP(%)
--
Peter Thoeny - 2013-06-14
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
Peter Thoeny - 2015-12-03
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.