Create a new EndPoint to get the Pre-Processed Dynaform Definition for
Mobile
This commit is contained in:
william barra
2017-02-22 12:13:16 -04:00
parent 7412b71064
commit 56cf190ee1
3 changed files with 69 additions and 0 deletions

View File

@@ -254,6 +254,7 @@ class pmDynaform
}
}
}
$dtFields = array_merge($this->fields['APP_DATA'], $dtFields);
$sql = G::replaceDataField($json->sql, $dtFields);
if ($value === "suggest") {
$sql = $this->sqlParse($sql, function($parsed, &$select, &$from, &$where, &$groupBy, &$having, &$orderBy, &$limit) use ($json) {