Removed '#' from 'value' when generating alias

When '#' is presented in the 'value' everything in the GET URL after '#' gets removed because it's being treated as "hash" part of the URL and it's not being sent to the server at all.
This commit is contained in:
Pawel Bres
2017-11-04 15:07:47 +01:00
committed by GitHub
parent 827e79c705
commit 576a790e2f

View File

@@ -41,7 +41,7 @@ function entityResource($q, $http, umbRequestHelper) {
if (!value) {
return "";
}
value = value.replace('#', '');
return umbRequestHelper.resourcePromise(
$http.get(
umbRequestHelper.getApiUrl(