{!{@tech.ebp.oqm.baseStation.service.mongo.search.SearchResult searchResults}!} {!{@tech.ebp.oqm.baseStation.service.mongo.search.PagingCalculations pagingCalculations}!} {! Template to show storage search results. Gives the contents of a table, but not the main table tag Ingests: - actionType - the action to take. "full" or "select" - storageService - the service to get storage blocks - searchResults - searchFormId - the id of the search form controlling the results - inputIdPrepend - the prepend for the id of the inputs to set the data of - otherModalId - the id of the other modal to open when selected if `actionType` is "select", callback will be "selectStorageBlock('', '', '')" on the select button !} {#paginationButtons searchFormId=searchFormId searchResults=searchResults}{/paginationButtons} Type Name Actions {#if searchResults.get("empty").asBoolean()}

No Interacting Entities

{#else} {#for result in searchResults.get("results")} {#let id=result.get("id").asText()} {#icons/interactingEntityType type=result.get("type").asText()}{/icons/interactingEntityType} {result.get("name").asText()} {#if actionType == 'view'} {#else if actionType == 'select'} {/if} {/let} {/for} {/if} {#paginationButtons searchFormId=searchFormId searchResults=searchResults}{/paginationButtons}