Loading...
 
Skip to main content

History: PluginList aggregate control block

Source of version: 6 (current)

Copy to clipboard
            ! PluginList Aggregate control block

Starting with ((Tiki18)), search results returned by LIST plugin can be aggregated and some fields optionally summed. Accepted arguments:

* fields: comma-separated list of field names to aggregate the results from. The values of these fields will determine the key by which results will be aggregated.
* totals: comma-separated list of field names to sum and display aggregated amount. These fields need to be numeric type fields.

!! Note
This is not connected with Elasticsearch's [https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html|aggregations] framework. In Tiki these are still referred to as -+facets+- which dates from the ES v1 [https://www.elastic.co/guide/en/elasticsearch/reference/1.7/search-facets.html|facets module]. These can currently (Tiki 19) be used only in [PluginCustomSearch#Using_Facets|PluginCustomSearch].

!! All the LIST Plugin control blocks
{toc pagename="PluginList"}