chg: [Component:CRUD] Removed comment and init correct variable type
parent
aeac86cb52
commit
bce4c5fde9
|
@ -1077,7 +1077,7 @@ class CRUDComponent extends Component
|
||||||
$filteringTags = !empty($params['filteringTags']) && $this->taggingSupported() ? $params['filteringTags'] : '';
|
$filteringTags = !empty($params['filteringTags']) && $this->taggingSupported() ? $params['filteringTags'] : '';
|
||||||
unset($params['filteringTags']);
|
unset($params['filteringTags']);
|
||||||
$customFilteringFunction = '';
|
$customFilteringFunction = '';
|
||||||
$chosenFilter = '';
|
$chosenFilter = [];
|
||||||
if (!empty($options['contextFilters']['custom'])) {
|
if (!empty($options['contextFilters']['custom'])) {
|
||||||
foreach ($options['contextFilters']['custom'] as $filter) {
|
foreach ($options['contextFilters']['custom'] as $filter) {
|
||||||
if ($filter['label'] == $filteringLabel) {
|
if ($filter['label'] == $filteringLabel) {
|
||||||
|
@ -1112,7 +1112,6 @@ class CRUDComponent extends Component
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!empty($params['relatedFilters'])) {
|
if (!empty($params['relatedFilters'])) {
|
||||||
// $query->group("{$this->TableAlias}.id");
|
|
||||||
foreach ($params['relatedFilters'] as $filter => $filterValue) {
|
foreach ($params['relatedFilters'] as $filter => $filterValue) {
|
||||||
$activeFilters[$filter] = $filterValue;
|
$activeFilters[$filter] = $filterValue;
|
||||||
$filterParts = explode('.', $filter);
|
$filterParts = explode('.', $filter);
|
||||||
|
|
Loading…
Reference in New Issue