revert af5e48f136
revert * datatableModel: change cols property to fieldList property to use the new configuration of dtable.
This commit is contained in:
@@ -82,7 +82,7 @@ class datatableModel extends model
|
||||
|
||||
$module = zget($this->config->datatable->moduleAlias, "$module-$method", $module);
|
||||
if(!isset($this->config->$module)) $this->loadModel($module);
|
||||
if(isset($this->config->datatable->$datatableId->fieldList)) $setting = json_decode($this->config->datatable->$datatableId->fieldList, true);
|
||||
if(isset($this->config->datatable->$datatableId->cols)) $setting = json_decode($this->config->datatable->$datatableId->cols, true);
|
||||
|
||||
$fieldList = $this->getFieldList($module);
|
||||
if(empty($setting))
|
||||
|
||||
Reference in New Issue
Block a user