From 142c16ed83c643926a8b0545423c9ba520a0b694 Mon Sep 17 00:00:00 2001 From: francescbassas Date: Mon, 29 Aug 2016 19:24:44 +0200 Subject: [PATCH] CRM-19272 Error hiding level 3 child groups --- templates/CRM/Group/Form/Search.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Group/Form/Search.tpl b/templates/CRM/Group/Form/Search.tpl index 9101c6ceeb..8dc028d7b7 100644 --- a/templates/CRM/Group/Form/Search.tpl +++ b/templates/CRM/Group/Form/Search.tpl @@ -189,7 +189,7 @@ $('.parent_is_' + parent_id).hide(); $('.parent_is_' + parent_id).each(function(i, obj) { // also hide children of children - var gID = $(this).find('td:nth-child(2)').text(); + var gID = $(this).data('id'); $('.parent_is_' + gID).hide(); }); } -- 2.25.1