Septima.Search.SqDetailsHandler
Extends Septima.Search.DetailsHandlerDef
Decorates a result with results that spatially overlap. Does so by querying the sq method of underlying searchers
Options
| Name | Type | Mandatory | Default value | Description |
|---|---|---|---|---|
| outputType | Object | "result" | May be "result" or "labelvalue" Option to generate either a list of result items or a list of label/value items | |
| headerListItem | Object | A detailsItem which will be shown before the lists of results | ||
| footerListItem | Object | A detailsItem which will be shown after the lists of results | ||
| noResultsListItem | Object | A detailsItem which will be shown if no results are found | ||
| proxySearcher | Object | A searcher will be queried with sq, the results of this is then used in the sq against the target | ||
| showProxy | Boolean | false | if proxySearcher is used - show the proxy? | |
| proxyOutputType | Boolean | "result" | Show the proxy as result or labelvalue | |
| searchers | Object | [] | ||
| allow_touches | Object | true | api |
Examples
Usage
YAML Declaration
mydetailhandlers:
sqPlanerDetailsHandler:
_type: Septima.Search.SqDetailsHandler
_options:
buttonText: "Planer"
searchers:
- _ref: "$.mysearchers.planSystemSearcher"
_type: Septima.Search.DawaSearcher
_options:
kommunekode: "*"
detailhandlers:
- _ref: "$.mydetailhandlers.sqPlanerDetailsHandler"