summaryrefslogtreecommitdiffstats
path: root/install/ui/search.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-06-23 11:44:44 -0500
committerAdam Young <ayoung@redhat.com>2011-06-24 12:05:51 -0400
commit1717d638fc69d38ac5ed848847c7b01601c910dc (patch)
tree815e337b558d1cfe8723ad521780f1268016ea57 /install/ui/search.js
parent8a32bb3746802a29b2655e4ad2cbbba8481e1eaf (diff)
downloadfreeipa-1717d638fc69d38ac5ed848847c7b01601c910dc.tar.gz
freeipa-1717d638fc69d38ac5ed848847c7b01601c910dc.tar.xz
freeipa-1717d638fc69d38ac5ed848847c7b01601c910dc.zip
Added record count into association facet tabs.
The details and association facets have been modified to show the number of records in each association in the corresponding facet tab. Ticket #1386
Diffstat (limited to 'install/ui/search.js')
-rw-r--r--install/ui/search.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/install/ui/search.js b/install/ui/search.js
index 33f6b8bb6..382e26bc5 100644
--- a/install/ui/search.js
+++ b/install/ui/search.js
@@ -361,15 +361,7 @@ IPA.nested_search_facet = function(spec) {
var pkey = $.bbq.getState(that.entity.name+'-pkey');
if ((!pkey) && (that.entity.redirect_facet)) {
-
- var current_entity = that.entity;
- while (current_entity.containing_entity){
- current_entity = current_entity.containing_entity;
- }
-
- IPA.nav.show_page(
- current_entity.name,
- that.entity.redirect_facet);
+ that.redirect();
return;
}