Tags:
create new tag
view all tags

Question

At my workplace we're looking into the feasiblity of using TWikiForms to help categorize our content. I know that it's possible to construct simple search pages that list all pages with any given classification, like for instance
SupportStatus = AskedQuestions .

However, how can I search for several Form values at the same time, like for instance
SupportStatus = AskedQuestions AND ServerOS = RedHat7 ?

  • TWiki version: Dec 2001
  • Perl version: 5.6.1
  • Web server & version: Apache 1.3
  • Server OS: Linux RedHat 7
  • Web browser & version: IE6
  • Client OS: WInNT4SP3

-- TorbenGB - 06 Feb 2003

Answer

Use the AND search, new in TWikiRelease01Feb2003 or patch your existing TWiki (see Codev.SearchWithAnd Codev.CategorySearchForm.

For example, in a regular expression search do this search using ";" separator:

"META\:FIELD.*?name=\"SupportStatus\".*?\"AskedQuestions\";META\:FIELD.*?name=\"ServerOS\".*?\"RedHat7\""

-- PeterThoeny - 06 Feb 2003

Follow up

Thank you for the quick response! Now I see that it wasn't just something that I had overlooked; my version of TWiki doesn't support it. I'll look into either patching or upgrading. Thanks!

-- TorbenGB - 07 Feb 2003

Related topic: SearchUsingMulitpleFormValues

-- FranzJosefSilli - 11 Jul 2004

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2004-07-11 - FranzJosefSilli
 
  • 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.