Skip to content

Commit

Permalink
Item2276: document the groupby=none option from MakeSEARCHResultParti…
Browse files Browse the repository at this point in the history
…tioningByWebOptional

git-svn-id: http://svn.foswiki.org/trunk@7028 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Apr 1, 2010
1 parent 57bc3b0 commit de84b92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/data/System/VarSEARCH.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
| =recurse="on"= | Recurse into subwebs, if subwebs are enabled. | =off= |
| =separator=", "= | Line separator _between_ search hits (only used when format= is set) | ="$n"= (Newline) |
| =newline="%<nop>BR%"= | Line separator _within_ a search hit. Useful if you want to put multi-line content into a table cell, for example if the format="" parameter contains a $pattern() that captures more than one line, or contains a $formfield() that returns a multi-line textfield. | ="$n"= (Newline) |
| =groupby="none"= | _Warning: this option is liable to change dramatically (and potentially incompatibly) in the next major release of foswiki._ Setting to ="none"= applies only to multi-web SEARCHs, and means the =header= and =footer= are only output _once_ - at the beginning and end of the list of results, and the =order= parameter is applied over the entire set of results (this setting removes the legacy that results are always partitioned by web) see %SYSTEMWEB%.SiteChanges for an example. | ="web"= |
* Example: =%<nop>SEARCH{"wiki" web="%USERSWEB%" scope="topic"}%=
* Example with format: =%<nop>SEARCH{"FAQ" scope="topic" nosearch="on" nototal="on" header="| *Topic: * | *Summary: * |" format="<nop>| $topic | $summary |"}%= _(displays results in a table with header - [[FormattedSearch][details]])_
* %T% If the Foswiki:Extensions.TablePlugin is installed, you may put a =%<nop>TABLE{}%= macro just before the =%<nop>SEARCH{}%= to alter the output of a search. Example: =%<nop>TABLE{ tablewidth="90%" }%=
Expand Down

0 comments on commit de84b92

Please sign in to comment.