## This file should be obsolete, along with the containing search-results-list.html and search-results-list.vm ## ------------------------------------------------------------------------------------------- ## This is search-results.vmd from Confluence 5.7.5, modified to eliminate abort of ## search results rendering on empty query string ## ------------------------------------------------------------------------------------------- #set ($results = $params.get("results")) #set ($showExcerpts = "true") #set ($searchWords = $params.get("searchWords")) #set ($queryString = $params.get("queryString")) #set ($ignoredWords = $params.get("ignoredWords")) #set ($topCell = $params.get("topCell")) #set ($start = $params.get("start")) #set ($end = $params.get("end")) #set ($total = $params.get("total")) #set ($isUsingThemePress = $action.key && $themePress.isThemePress($action.key) || !$action.key && $themePress.themePressSiteTheme) #if ($params.get("showExcerpts")) #set ($showExcerpts = $params.get("showExcerpts")) #end #parse("$searchCore.parseFileLocation('targeted-search')/html/includes/search-result-macros.html") ## Brikit: comment out formAction reset, and empty query string test (and its closure): ## #set ($formAction = "dosearchsite.action?") ## #if ($stringUtils.isNotBlank($queryString)) #if ($results && $results.size() > 0)
#if ($topCell) $topCell #else $searchCore.text("com.brikit.targetedsearch.results.found", [$total, $generalUtil.escapeXml($searchWords)]) #end