Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
f11d155606 | |||
557fa1e22b | |||
33d7069708 |
@ -5,12 +5,12 @@ namespace Itguild\Tables\Filter;
|
|||||||
abstract class Filter
|
abstract class Filter
|
||||||
{
|
{
|
||||||
public string $html = '';
|
public string $html = '';
|
||||||
public string|array $param;
|
public string|array $params;
|
||||||
public string $name;
|
public string $name;
|
||||||
public string $value;
|
public string $value;
|
||||||
public function __construct(array $source)
|
public function __construct(array $source)
|
||||||
{
|
{
|
||||||
$this->param = $source['param'] ?? '';
|
$this->params = $source['params'] ?? '';
|
||||||
$this->name = $source['name'];
|
$this->name = $source['name'];
|
||||||
$this->value = $source['value'] ?? '';
|
$this->value = $source['value'] ?? '';
|
||||||
}
|
}
|
||||||
|
@ -280,7 +280,7 @@ class ListJsonTable extends JasonTable
|
|||||||
$flag = true;
|
$flag = true;
|
||||||
$filter = $this->getCurrentFilter($key);
|
$filter = $this->getCurrentFilter($key);
|
||||||
$params = [
|
$params = [
|
||||||
'param' => $filter['param'] ?? '',
|
'params' => $filter['params'] ?? '',
|
||||||
'name' => $key,
|
'name' => $key,
|
||||||
'value' => $filter['value'] ?? '',
|
'value' => $filter['value'] ?? '',
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user