Compare commits

..

No commits in common. "master" and "1.1.2" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -5,12 +5,12 @@ namespace Itguild\Tables\Filter;
abstract class Filter
{
public string $html = '';
public string|array $params;
public string|array $param;
public string $name;
public string $value;
public function __construct(array $source)
{
$this->params = $source['params'] ?? '';
$this->param = $source['param'] ?? '';
$this->name = $source['name'];
$this->value = $source['value'] ?? '';
}

View File

@ -280,7 +280,7 @@ class ListJsonTable extends JasonTable
$flag = true;
$filter = $this->getCurrentFilter($key);
$params = [
'params' => $filter['params'] ?? '',
'param' => $filter['param'] ?? '',
'name' => $key,
'value' => $filter['value'] ?? '',
];