Skip to content

Pass correct GraphQL variable when expanding a group

What does this MR do and why?

Related to #574413 (closed)

When expanding a subgroup in the nested groups lists the API variables are not being passed correctly. This causes a bug where archived or pending deletion groups/projects are shown when they should not be.

This MR passes the correct variables when making the API call.

References

Screenshots or screen recordings

Group overview

Unarchived project

no changes

Before After
Screenshot_2025-10-06_at_7.56.28_AM Screenshot_2025-10-06_at_7.51.31_AM

Archived project

Before After
Screenshot_2025-10-06_at_7.57.03_AM Screenshot_2025-10-06_at_7.51.48_AM

no changes

Before After
Screenshot_2025-10-06_at_7.57.16_AM Screenshot_2025-10-06_at_7.51.59_AM

Your work -> Groups

no changes

Before After
Screenshot_2025-10-06_at_7.55.19_AM Screenshot_2025-10-06_at_7.53.30_AM
Screenshot_2025-10-06_at_7.55.36_AM Screenshot_2025-10-06_at_7.53.46_AM

How to set up and validate locally

  1. Go to a group
  2. Create a subgroup
  3. Created a nested subgroup and a nested project
  4. Go back to the original group
  5. Archive the project using the quick action
  6. Expand the subgroup, the archived project should not be shown
  7. Go to the Inactive tab, the archived project should be shown

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Hegman

Merge request reports

Loading