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

NameTypeMandatoryDefault valueDescription
outputTypeObject"result"May be "result" or "labelvalue" Option to generate either a list of result items or a list of label/value items
headerListItemObjectA detailsItem which will be shown before the lists of results
footerListItemObjectA detailsItem which will be shown after the lists of results
noResultsListItemObjectA detailsItem which will be shown if no results are found
proxySearcherObjectA searcher will be queried with sq, the results of this is then used in the sq against the target
showProxyBooleanfalseif proxySearcher is used - show the proxy?
proxyOutputTypeBoolean"result"Show the proxy as result or labelvalue
searchersObject[]
allow_touchesObjecttrueapi

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"