add custom columns filter

This commit is contained in:
2024-08-22 13:08:25 +03:00
parent af1b996766
commit 77a306a0f6
3 changed files with 14 additions and 3 deletions

View File

@ -251,7 +251,7 @@ class ListJsonTable extends JasonTable
$this->html .= "<tr><form action='$this->baseUrl/search'>";
foreach ($columnKeys as $key){
if ($this->issetFilter($key)){
$this->html .= "<td><input type='text' name='$key'></td>";
$this->html .= "<td><input type='" . $this->getFilterFromCustomColumn($key) . "' name='$key'></td>";
}
else {
$this->html .= "<td></td>";