diff options
Diffstat (limited to 'install/ui/src/freeipa/field.js')
-rw-r--r-- | install/ui/src/freeipa/field.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/field.js b/install/ui/src/freeipa/field.js index 14aae65ec..2f0912d27 100644 --- a/install/ui/src/freeipa/field.js +++ b/install/ui/src/freeipa/field.js @@ -732,7 +732,7 @@ IPA.link_field = function(spec) { that.other_entity = IPA.get_entity(spec.other_entity); function other_pkeys () { - return that.entity.get_primary_key(); + return that.facet.get_pkeys(); } that.other_pkeys = spec.other_pkeys || other_pkeys; @@ -810,7 +810,7 @@ IPA.enable_field = function(spec) { var command = IPA.command({ entity: that.entity.name, method: method, - args: that.entity.get_primary_key(), + args: that.facet.get_pkeys(), options: {all: true, rights: true} }); |