• Do not
register here on develop.twiki.org, login with your twiki.org account.
• Use Item7848
for generic doc work
for TWiki-6.1.1. Use Item7851
for doc work on extensions
that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
• Does this site look broken?. Use the LitterTray web for test cases.
Item7443: Possible to return quoted strings in query() of formatted search
Item Form Data
When a CALCULATE is used to manipulate the result of a
of a FormattedSearch
, the result may contain commas that can confuse the CALCULATE. Example that shows a comma list of the comments of all attachments:
$query(attachments.comment) - not quotes result:
comment, with comma, comment (with parenthesis)
$query(attachments.comment, quote:''') - quotes result:
'''comment, with comma''', '''comment (with parenthesis)'''
You can triple-quote the strings so that CALCULATE can handle them properly.
This small "no-brainer" feature is now in SVN trunk and 6.0 branch.