diff --git a/config/views.view.duplicate_of_iasc_group_content.yml b/config/views.view.duplicate_of_iasc_group_content.yml index 522e2715..2542bd6a 100644 --- a/config/views.view.duplicate_of_iasc_group_content.yml +++ b/config/views.view.duplicate_of_iasc_group_content.yml @@ -10,7 +10,7 @@ dependencies: - node _core: default_config_hash: ZSKjHkl45YTbsYHiq_H7py04GDuX95t-GOHAAb8ZFbk -id: duplicate_of_iasc_group_relationship +id: duplicate_of_iasc_group_content label: 'Duplicate of IASC Group Content' module: gnode description: 'Lists all of the nodes that have been added to a group.' diff --git a/config/views.view.iasc_group_content.yml b/config/views.view.iasc_group_content.yml index 611d3063..58312bdb 100644 --- a/config/views.view.iasc_group_content.yml +++ b/config/views.view.iasc_group_content.yml @@ -6,7 +6,7 @@ dependencies: - search_api.index.default_solr_index module: - search_api -id: iasc_group_relationship +id: iasc_group_content label: 'IASC Group Content' module: views description: '' diff --git a/html/modules/custom/iasc_content/iasc_content.module b/html/modules/custom/iasc_content/iasc_content.module index edc202f5..5af4db6d 100644 --- a/html/modules/custom/iasc_content/iasc_content.module +++ b/html/modules/custom/iasc_content/iasc_content.module @@ -1085,7 +1085,7 @@ function iasc_content_fix_entities($entity_type, $bundle, $field_name) { * Implemtents hook_views_pre_render(). */ function iasc_content_views_pre_render(ViewExecutable $view) { - if ($view->id() === 'iasc_group_relationship') { + if ($view->id() === 'iasc_group_content') { $group_id = $view->args[0]; if ($group_id) { if ($group = $group = \Drupal::entityTypeManager()->getStorage('group')->load($group_id)) { diff --git a/html/modules/custom/iasc_content/src/Plugin/Block/IascContentSectionMenu.php b/html/modules/custom/iasc_content/src/Plugin/Block/IascContentSectionMenu.php index 3cac54da..a47a9916 100644 --- a/html/modules/custom/iasc_content/src/Plugin/Block/IascContentSectionMenu.php +++ b/html/modules/custom/iasc_content/src/Plugin/Block/IascContentSectionMenu.php @@ -66,7 +66,7 @@ public function build() { $parameters = $this->routeMatch->getParameters(); $needed = FALSE; - if ($parameters->get('view_id', '') == 'iasc_group_relationship') { + if ($parameters->get('view_id', '') == 'iasc_group_content') { $needed = TRUE; $group_id = $parameters->get('group', ''); }