Tags:
create new tag
view all tags

SID-01734: How to perform nested search inside LISTEACH variable

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title How to perform nested search inside LISTEACH variable
SupportCategory CategorySearch
TWiki version 5.1.4
Server OS Ubuntu
Web server Apache
Perl version

Browser & version

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2015-12-03 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.