If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org
to view this page for some minimal testing.
for docu changes for 1.2 and 2.0.
Item1682: SEARCH does not work well with format being blank
with a format works very differently from a SEARCH
The current code will see format not defined the same way as format=""
And normally we did not care.
But with the new footer and $nhits and $ntopics feature the use of an empty format suddenly makes a lot of sense.
You can use a construct like format="" footer"$ntopics" separator="" to put the number of topics that matches a search anywhere you want incl inside tables.
I saw today this used where someone put an html <nop> in the format.
It is silly that you end up maybe with 300 nops. Thay may be invisible but they can also create trouble - especially in a nested search.
The fix is to treat format="" exactly as it should be expected. It is a bug that an empty format means no format. An empty format is a format.
It is easy to fix both in trunk and in release branch and I am running the last unit tests as I write this report.
Fix will be in 1.0.6.
- 03 Jun 2009