summaryrefslogtreecommitdiffstats
path: root/install/ui/search.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-10-26 01:20:35 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-10-27 13:48:17 +0000
commit725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3 (patch)
treec089597fbd4cd9671b9362a6f0fcb9c5f8515df0 /install/ui/search.js
parent6af5755de595cc85b1f878710f834f43a23bf41c (diff)
downloadfreeipa-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.tar.gz
freeipa-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.tar.xz
freeipa-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.zip
Merged widget's metadata and param_info.
The metadata and param_info attributes in widget have been merged because they are redundant. Ticket #1436
Diffstat (limited to 'install/ui/search.js')
-rw-r--r--install/ui/search.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/search.js b/install/ui/search.js
index 83b91051c..ab3a1cea4 100644
--- a/install/ui/search.js
+++ b/install/ui/search.js
@@ -65,8 +65,8 @@ IPA.search_facet = function(spec) {
for (var i=0; i<columns.length; i++) {
var column = columns[i];
column.entity = entity;
- var param_info = IPA.get_entity_param(entity.name, column.name);
- column.primary_key = param_info && param_info['primary_key'];
+ var metadata = IPA.get_entity_param(entity.name, column.name);
+ column.primary_key = metadata && metadata.primary_key;
column.link = column.primary_key;
if (column.link) {