CRM-18001 - Group titles undefined in groups list
authorNiels Heinemann <heinemann@kompetenzz.de>
Tue, 9 Feb 2016 12:45:54 +0000 (13:45 +0100)
committerNiels Heinemann <heinemann@kompetenzz.de>
Tue, 9 Feb 2016 12:45:54 +0000 (13:45 +0100)
----------------------------------------
* CRM-18001: Group titles undefined in groups list
  https://issues.civicrm.org/jira/browse/CRM-18001

templates/CRM/Group/Form/Search.tpl

index 7ab8bb1c4abfb4b09cfd1d3a9342f84861dd274f..c3f208fe3317acfb48220f92b248166fcd76154a 100644 (file)
               $.each( response.data, function( i, val ) {
                 appendHTML += '<tr id="row_'+val.group_id+'_'+parent_id+'" data-entity="group" data-id="'+val.group_id+'" class="crm-entity parent_is_'+parent_id+' crm-row-child">';
                 if ( val.is_parent ) {
-                  appendHTML += '<td class="crm-group-name crmf-title crm-editable ' + levelClass + '">' + '{/literal}<span class="collapsed show-children" title="{ts}show child groups{/ts}"/></span>{literal}' + val.group_name + '</td>';
+                  appendHTML += '<td class="crm-group-name crmf-title crm-editable ' + levelClass + '">' + '{/literal}<span class="collapsed show-children" title="{ts}show child groups{/ts}"/></span>{literal}' + val.title + '</td>';
                 }
                 else {
                   appendHTML += '<td class="crm-group-name  crmf-title crm-editable ' + levelClass + '"><span class="crm-no-children"></span>' + val.title + '</td>';