Completed
Push — master ( 3a2e0f...acc7aa )
by Simonas
262:41 queued 198:07
created
Filter/Widget/Choice/SingleTermChoice.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -103,14 +103,14 @@  discard block
 block discarded – undo
103 103
         }
104 104
 
105 105
         if ($relatedSearch->getPostFilters()) {
106
-            $filterAggregation = new FilterAggregation($name . '-filter');
106
+            $filterAggregation = new FilterAggregation($name.'-filter');
107 107
             $filterAggregation->setFilter($relatedSearch->getPostFilters());
108 108
             $filterAggregation->addAggregation($aggregation);
109 109
             $search->addAggregation($filterAggregation);
110 110
 
111 111
             if ($this->showZeroChoices) {
112 112
                 $unfilteredAggregation = clone $aggregation;
113
-                $unfilteredAggregation->setName($name . '-unfiltered');
113
+                $unfilteredAggregation->setName($name.'-unfiltered');
114 114
                 $search->addAggregation($unfilteredAggregation);
115 115
             }
116 116
         } else {
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         $unsortedChoices = [];
137 137
         $zeroValueChoices = [];
138 138
 
139
-        if ($this->showZeroChoices && $agg = $result->getAggregation($data->getName() . '-unfiltered')) {
139
+        if ($this->showZeroChoices && $agg = $result->getAggregation($data->getName().'-unfiltered')) {
140 140
             foreach ($agg as $bucket) {
141 141
                 $zeroValueChoices[$bucket['key']] = $bucket['doc_count'];
142 142
             }
Please login to merge, or discard this patch.