From 1717d638fc69d38ac5ed848847c7b01601c910dc Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 23 Jun 2011 11:44:44 -0500 Subject: 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 --- install/ui/search.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'install/ui/search.js') diff --git a/install/ui/search.js b/install/ui/search.js index 33f6b8bb..382e26bc 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; } -- cgit