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