Skip to content

Commit

Permalink
chore: fix rename
Browse files Browse the repository at this point in the history
  • Loading branch information
attiks committed Jan 9, 2025
1 parent cb8c950 commit 5e144a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/views.view.duplicate_of_iasc_group_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
Expand Down
2 changes: 1 addition & 1 deletion config/views.view.iasc_group_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ''
Expand Down
2 changes: 1 addition & 1 deletion html/modules/custom/iasc_content/iasc_content.module
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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', '');
}
Expand Down

0 comments on commit 5e144a5

Please sign in to comment.