This question about Documentation: Asked

Combined search over content AND form data -II-

I want to search for Topics with a specific data form combined with a keyword search. The string for the keyword search should be catched with a input field. May like the example at the End of FormattedSearch. Question614 is similar what I want. The condition AND text ~ '* TODO *'" is just no keyword search and also case-sensitive.

-- TomHorst - 08 Oct 2013

Sorry, I don't understand the question. Could you try rephrasing it?

-- CrawfordCurrie - 15 Oct 2013

Sure wink

Script form Question 614:
%SEARCH{
  type="query"
  "DocumentationForm[name='ContentOwner'].value='%WIKINAME%' AND text ~ '* TODO *'"
  nosearch="on"
  order="topic"
  limit="all"
  excludetopic="%TOPIC%"
  header="| *Topic* | *Last updated* | *By* |"
  format="| [[%BASEWEB%.$topic][$topic]] | $date | $wikiname |"
}%

I want to use the script. But the argument AND text ~ '* TODO *' is just -fixed-. I want to replace it with a variable search string. In one sentence: I want a keyword search limited to topis with a specific value in the form field ("Content Owner"). Hopefully better explained big grin

-- TomHorst - 21 Oct 2013


 

QuestionForm edit

Subject Documentation
Extension
Version Foswiki 1.1.8
Status Asked
Related Topics
Topic revision: r3 - 21 Oct 2013, TomHorst
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy