PM-2666: I added a validation, some variables do not show in reportables
This commit is contained in:
@@ -1642,13 +1642,16 @@ class pmTablesProxy extends HttpProxyController
|
|||||||
$index = 0;
|
$index = 0;
|
||||||
while ($oDataset->next()) {
|
while ($oDataset->next()) {
|
||||||
$row = $oDataset->getRow();
|
$row = $oDataset->getRow();
|
||||||
array_push($fields, array(
|
$fieldType = isset($row["VAR_FIELD_TYPE"]) ? $row["VAR_FIELD_TYPE"]: '';
|
||||||
"FIELD_UID" => $row["VAR_NAME"] . "-" . $row["VAR_FIELD_TYPE"],
|
if(! in_array( $fieldType, $excludeFieldsList )){
|
||||||
"FIELD_NAME" => $row["VAR_NAME"],
|
array_push($fields, array(
|
||||||
"FIELD_VALIDATE" => "any",
|
"FIELD_UID" => $row["VAR_NAME"] . "-" . $row["VAR_FIELD_TYPE"],
|
||||||
"_index" => $index ++,
|
"FIELD_NAME" => $row["VAR_NAME"],
|
||||||
"_isset" => true
|
"FIELD_VALIDATE" => "any",
|
||||||
));
|
"_index" => $index ++,
|
||||||
|
"_isset" => true
|
||||||
|
));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user