HOR-1847 "Plugin BatchRouting> El plugin..."
This commit is contained in:
@@ -151,7 +151,7 @@ class Consolidated extends Api
|
||||
try {
|
||||
$usr_uid = $this->getUserId();
|
||||
$consolidated = new \ProcessMaker\BusinessModel\Consolidated();
|
||||
return $consolidated->postDerivate($app_uid, $app_number, $del_index, $usr_uid,$field_grid, $field_grid_val);
|
||||
return $consolidated->postDerivate($app_uid, $app_number, $del_index, $usr_uid,$field_grid, str_replace('__FRASL__', '/', $field_grid_val));
|
||||
} catch (\Exception $e) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
}
|
||||
|
||||
@@ -1307,7 +1307,7 @@ function ajaxDerivationRequest(appUid, delIndex, maxLenght, appNumber, fieldGrid
|
||||
'Content-Type': 'application/json',
|
||||
'Authorization': 'Bearer ' + credentials.access_token
|
||||
},
|
||||
url: urlProxy + 'derivate/' + appUid + '/' + appNumber + '/' + delIndex + '/' + fieldGridGral + '/' + fieldGridGralVal + '/',
|
||||
url: urlProxy + 'derivate/' + appUid + '/' + appNumber + '/' + delIndex + '/' + fieldGridGral + '/' + stringReplace("\\x2F", "__FRASL__", fieldGridGralVal) + '/',
|
||||
success: function(response) {
|
||||
var dataResponse;
|
||||
var fullResponseText = response.responseText;
|
||||
|
||||
Reference in New Issue
Block a user