From 3a022fe51043f71bdb50aefea828377b8f0c09fb Mon Sep 17 00:00:00 2001 From: Adam Young Date: Wed, 8 Sep 2010 10:00:00 -0400 Subject: Netgroup associations netgroup->user,group,host,hostgroup -- Added facets to netgroup -- added links into lists for associations --- install/static/associate.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'install/static/associate.js') diff --git a/install/static/associate.js b/install/static/associate.js index c11642ba..cd07c9f7 100644 --- a/install/static/associate.js +++ b/install/static/associate.js @@ -218,8 +218,15 @@ function AssociationList(obj,facet,assignFacet,associationColumns,facets) { var row = $("").appendTo($('#searchResultsTable thead:last')); for (var k = 0; k < associationColumns.length ;k++){ var column = this.associationColumns[k].column; + var link = + "#tab="+this.associationColumns[k].title + +"&facet=details" + +"&pkey="+userData.result.result[column][j]; $("",{ - html: userData.result.result[column][j] + html: $("",{ + href:link, + html:userData.result.result[column][j] + }) }).appendTo(row); } } -- cgit