some fix filters

This commit is contained in:
2024-08-28 12:12:52 +03:00
parent b4dc2f6ab1
commit f03ec200ac
4 changed files with 13 additions and 11 deletions

View File

@ -269,12 +269,10 @@ class ListJsonTable extends JasonTable
foreach ($columnKeys as $key){
if ($this->issetFilter($key)){
// $this->html .= "<td><input type='" . $this->getFilterFromCustomColumn($key) . "' name='$key'></td>";
$tag = $this->getTagFromCustomColumn($key);
$item = $this->getCurrentFilter($tag);
$item = $this->getCurrentFilter($this->getTagFromCustomColumn($key));
$objItem = new $item([
'data' => $this->getFilterFromCustomColumn($key),
'name' => $key
// 'value' => $this->getFilterFromCustomColumn($key)
]);
$this->html .= $objItem->fetch();
}