• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic 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

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Search Enhancement Closed   patch 6.0.1

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


When a CALCULATE is used to manipulate the result of a $query() 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.

-- TWiki:Main/PeterThoeny - 2014-03-02

This small "no-brainer" feature is now in SVN trunk and 6.0 branch.

-- TWiki:Main.PeterThoeny - 2014-03-02

Summary Possible to return quoted strings in query() of formatted search
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 6.0.0
SVN Range TWiki-6.0.1-trunk, Thu, 09 Jan 2014, build 26720
AppliesTo Engine
Component Search
Priority Enhancement
CurrentState Closed

Checkins TWikirev:27046 TWikirev:27047 TWikirev:27048 TWikirev:27049 TWikirev:27050 TWikirev:27051 TWikirev:27052
TargetRelease patch
ReleasedIn 6.0.1
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r10 - 2014-10-06 - PeterThoeny
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback