@@ -245,8 +245,7 @@ |
||
245 | 245 | $viewParameters['data'] = $this->getOutputRows(); |
246 | 246 | $viewParameters['unfilteredRowsCount'] = $this->getUnfilteredCount(); |
247 | 247 | $viewParameters['filteredRowsCount'] = $this->getFilteredCount(); |
248 | - } |
|
249 | - else if ($this->getOptions()['has_filter_form']) { |
|
248 | + } else if ($this->getOptions()['has_filter_form']) { |
|
250 | 249 | $viewParameters['filterForm'] = $this->getFilterForm()->createView(); |
251 | 250 | } |
252 | 251 | return $viewParameters; |
@@ -12,9 +12,9 @@ |
||
12 | 12 | $jsonVars = []; |
13 | 13 | $jsonVars['recordsTotal'] = $table->getUnfilteredCount(); |
14 | 14 | $filterCount = $table->getFilteredCount(); |
15 | - $jsonVars['recordsFiltered'] = $filterCount!==false ? $filterCount : $jsonVars['recordsTotal']; |
|
15 | + $jsonVars['recordsFiltered'] = $filterCount !== false ? $filterCount : $jsonVars['recordsTotal']; |
|
16 | 16 | $jsonVars['data'] = array_map( |
17 | - function ($item) { |
|
17 | + function($item) { |
|
18 | 18 | $t = []; |
19 | 19 | foreach ($item as $k => $v) { |
20 | 20 | $t[] = $v; |