BUG 0000 PM tables imporovements
- Setting order to available fields on report table edit UI
This commit is contained in:
@@ -84,6 +84,7 @@ class pmTables extends Controller
|
||||
);
|
||||
}
|
||||
}
|
||||
sort($fieldsList);
|
||||
$this->setJSVar('avFieldsList', $fieldsList);
|
||||
$repTabPluginPermissions = $this->_getSimpleReportPluginDef();
|
||||
$this->setJSVar('_plugin_permissions', $repTabPluginPermissions);
|
||||
@@ -103,7 +104,7 @@ class pmTables extends Controller
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
sort($fieldsList);
|
||||
$this->setJSVar('avFieldsList', $fieldsList);
|
||||
$repTabPluginPermissions = $this->_getSimpleReportPluginDef();
|
||||
break;
|
||||
@@ -189,3 +190,4 @@ class pmTables extends Controller
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ class pmTablesProxy extends HttpProxyController
|
||||
);
|
||||
}
|
||||
}
|
||||
$resultList['processFields'] = $aProcessGridFields;
|
||||
$resultList = $aProcessGridFields;
|
||||
|
||||
} else {
|
||||
$aProcessFields = Array();
|
||||
@@ -146,10 +146,12 @@ class pmTablesProxy extends HttpProxyController
|
||||
'FIELD_NAME' => $dfield['name']
|
||||
);
|
||||
}
|
||||
$resultList['processFields'] = $aProcessFields;
|
||||
$resultList = $aProcessFields;
|
||||
}
|
||||
|
||||
sort($resultList);
|
||||
|
||||
return $resultList;
|
||||
return array('processFields'=>$resultList);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -936,4 +938,4 @@ class aTablesMap{
|
||||
$this->aMap[$item] = $equal;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user