Merge pull request #816 from Jeavon/U4-7260

Fix for U4-7260
This commit is contained in:
Shannon Deminick
2015-10-22 18:08:23 +02:00

View File

@@ -139,6 +139,12 @@ function entityResource($q, $http, umbRequestHelper) {
_.each(ids, function(item) {
query += "ids=" + item + "&";
});
// if ids array is empty we need a empty variable in the querystring otherwise the service returns a error
if (ids.length === 0) {
query += "ids=&";
}
query += "type=" + type;
return umbRequestHelper.resourcePromise(