Skip to content

Commit

Permalink
Merge branch 'feature/OPS-11043-group-v3' of github.com:UN-OCHA/iasc8…
Browse files Browse the repository at this point in the history
… into feature/OPS-11043-group-v3
  • Loading branch information
lazysoundsystem committed Jan 22, 2025
2 parents 9300cff + 898656f commit 4d61a51
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 90 deletions.
167 changes: 83 additions & 84 deletions composer.lock

Large diffs are not rendered by default.

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
2 changes: 1 addition & 1 deletion local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ volumes:

services:
mysql:
image: public.ecr.aws/unocha/mysql:10.11
image: public.ecr.aws/unocha/mysql:11.4
hostname: $PROJECT_NAME-mysql
container_name: $PROJECT_NAME-mysql
environment:
Expand Down
2 changes: 1 addition & 1 deletion tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ volumes:

services:
mysql:
image: public.ecr.aws/unocha/mysql:10.11
image: public.ecr.aws/unocha/mysql:11.4
hostname: iasc-test-mysql
container_name: iasc-test-mysql
environment:
Expand Down

0 comments on commit 4d61a51

Please sign in to comment.