Feature Proposal: Add number of topics variable to Formatted Search
Motivation
The
AddFooterParameterToSEARCH allows people to specify a custom footer. WIBNI you can specify the number of topics found?
Description and Documentation
In
FormattedSearch, add this to format parameter table:
$ntopics |
Number of topics found in current web. This is the current topic count, not the total number of topics |
$nhits |
Number of hits if multiple="on". Cumulative across all topics in current web. Identical to $ntopics unless multiple="on" |
Add this to footer parameter table:
$ntopics |
Number of topics found in current web |
$nhits |
Number of hits if multiple="on". Cumulative across all topics in current web. Identical to $ntopics unless multiple="on" |
Impact
Implementation
The
$ntopics perl variable already exists in
TWiki::Search. A new
$nhits needs to be introduced for the number of hits.
This is tracked in
TWikibug:Item6184
--
Contributors: PeterThoeny - 15 Feb 2009
Discussion
This is now implemented.
--
PeterThoeny - 16 Feb 2009