|
@@ -133,6 +133,8 @@ JS;
|
|
|
|
|
|
$scopres = $filter->scopes();
|
|
|
$filters = $filter->filters();
|
|
|
+ $valueCount = $filter->mode() === Filter::MODE_RIGHT_SIDE
|
|
|
+ ? count($this->parent->filter()->getConditions()) : 0;
|
|
|
|
|
|
if ($scopres->isEmpty() && ! $filters) {
|
|
|
return;
|
|
@@ -150,6 +152,7 @@ JS;
|
|
|
'expand' => $filter->expand,
|
|
|
'show_filter_text' => true,
|
|
|
'only_scopes' => $onlyScopes,
|
|
|
+ 'valueCount' => $valueCount,
|
|
|
];
|
|
|
|
|
|
return view($this->view, $variables)->render();
|