%SEARCH{
    web="System"
   "SvenThinksThereShouldBeNoSuchTopic"
    nototal="on" 
    zeroresults="on" 
}%

Searched: SvenThinksThereShouldBeNoSuchTopic

from VarSEARCH

zeroresults="off" Suppress all output if there are no hits zeroresults="on", displays: "Number of topics: 0"
nototal="on" Do not show number of topics found Show number

While the docco is totally vague about what happens when you combine the 2 :/

So I'm thinking that we can take the oportunity to turn zeroresults into a format field too

ie,

(basically, it would be better if zeroresults could be used to optionally over-ride nonoise when otherwise you just get a blank page.)

-- SvenDowideit - 28 Jan 2009

adding unit tests and fix from Item8785, and then added feature.

-- SvenDowideit - 29 Mar 2010

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads