Skip to content
Snippets Groups Projects
Commit 8c02cd08 authored by Demian Katz's avatar Demian Katz
Browse files

Style fixes.

parent 21b02bbd
Branches
Tags
No related merge requests found
...@@ -61,7 +61,7 @@ class HierarchicalFacetHelper ...@@ -61,7 +61,7 @@ class HierarchicalFacetHelper
} }
// Avoid problems having the reference set further below // Avoid problems having the reference set further below
unset($facetItem); unset($facetItem);
$sortFunc = function($a, $b) use ($topLevel) { $sortFunc = function ($a, $b) use ($topLevel) {
if ($a['level'] == $b['level'] && (!$topLevel || $a['level'] == 0)) { if ($a['level'] == $b['level'] && (!$topLevel || $a['level'] == 0)) {
$aText = $a['displayText'] == $a['value'] $aText = $a['displayText'] == $a['value']
? $this->formatDisplayText($a['displayText']) ? $this->formatDisplayText($a['displayText'])
...@@ -82,9 +82,9 @@ class HierarchicalFacetHelper ...@@ -82,9 +82,9 @@ class HierarchicalFacetHelper
* Helper method for building hierarchical facets: * Helper method for building hierarchical facets:
* Convert facet list to a hierarchical array * Convert facet list to a hierarchical array
* *
* @param string $facet Facet name * @param string $facet Facet name
* @param array $facetList Facet list * @param array $facetList Facet list
* @param UrlHelper $urlHelper Query URL helper for building facet URLs * @param UrlHelper $urlHelper Query URL helper for building facet URLs
* *
* @return array Facet hierarchy * @return array Facet hierarchy
* *
...@@ -173,9 +173,9 @@ class HierarchicalFacetHelper ...@@ -173,9 +173,9 @@ class HierarchicalFacetHelper
/** /**
* Create an item for the hierarchical facet array * Create an item for the hierarchical facet array
* *
* @param string $facet Facet name * @param string $facet Facet name
* @param array $item Facet item received from Solr * @param array $item Facet item received from Solr
* @param UrlQueryHelper $urlHelper UrlQueryHelper for creating facet * @param UrlQueryHelper $urlHelper UrlQueryHelper for creating facet
* url's * url's
* active children * active children
* *
......
/*global htmlEncode, path */
function buildFacetNodes(data, currentPath, allowExclude, excludeTitle, counts) function buildFacetNodes(data, currentPath, allowExclude, excludeTitle, counts)
{ {
var json = []; var json = [];
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment