Item883: Make the SEARCH zeroresults parameter a format string
Current State: Closed
Released In: 1.1.0
Target Release: minor
|| Suppress all output if there are no hits
|| zeroresults="on", displays: "Number of topics: 0"
|| 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="$count results found" would work..
zeroresults="off" would show nothing as now
zeroresults="on" would show the
= 0 independently of =nototal
(basically, it would be better if
could be used to optionally over-ride
when otherwise you just get a blank page.)
- 28 Jan 2009
adding unit tests and fix from Item8785
, and then added feature.
- 29 Mar 2010