Filter credentials to only credentials not associated with an organization when adding permissions for a user not associated with an organization.

This commit is contained in:
mabashian 2017-08-16 15:53:48 -04:00
parent 6915e95f58
commit 116a47fc6a

View File

@ -357,6 +357,9 @@ function($injector, $stateExtender, $log, i18n) {
$stateParams[`${list.iterator}_search`].or__organization__in = orgIds.join();
}
else {
$stateParams[`${list.iterator}_search`].organization = 'null';
}
return qs.search(path, $stateParams[`${list.iterator}_search`]);
});