change filtered set default filter on Report list..
This commit is contained in:
parent
27c4db07b8
commit
022eb988b5
@ -7,6 +7,8 @@
|
||||
]) !!}
|
||||
@php
|
||||
$filters = [];
|
||||
$filtered = [];
|
||||
|
||||
$skipped = [
|
||||
'keys', 'names', 'types', 'routes'
|
||||
];
|
||||
@ -63,13 +65,15 @@
|
||||
'url' => $url,
|
||||
'values' => $filter_values,
|
||||
];
|
||||
}
|
||||
|
||||
if ($key == 'year') {
|
||||
$filtered[] = [
|
||||
'option' => 'year',
|
||||
'option' => $key,
|
||||
'operator' => '=',
|
||||
'value' => \Date::now()->year,
|
||||
];
|
||||
}
|
||||
}
|
||||
@endphp
|
||||
|
||||
<div class="align-items-center">
|
||||
|
Loading…
x
Reference in New Issue
Block a user