# Bug OP-6598 - Multiple Work Package Widgets on MyPage - Groups can't be reduced independently

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-6598

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 10.5.0 |
| Observed in versions |  |
| Sprint | 10.5.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### **Environment**:

Server: OpenProject Version: 10.3.1 / Community Edition / Ubuntu 16.04

User Operating System - Win 10 64Bit

Browser - Firefox 72.0.1

Language - German

### **Logs**

Are there errors in the browser console? ([Click here for information on how to open your browser's console](https://webmasters.stackexchange.com/a/77337)) For a local installation: Are there relevant logs output by `openproject logs` (packaged installation) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable

#### Firefox Console Error:

``` text
TypeError: t[l] is undefinedgrouped-rows-builder.ts:99:35
    refreshExpansionState grouped-rows-builder.ts:99
    jQuery 2
    refreshExpansionState grouped-rows-builder.ts:94
    jQuery 2
    refreshExpansionState grouped-rows-builder.ts:78
    handleEvent group-row-handler.ts:45
    attachTo event-handler-registry.ts:35
    jQuery 2
    Angular 7
```

### 

### **Steps to reproduce:**

1.  Go to My Page Site
2.  Have multiple Work Package Widgets (Example: 1 Widged only tracking Problems, One Widget only tracking tasks using different shown columns and sorting)
3.  Have the work packages grouped by something with more than one shown group
4.  Click on button - to reduce a group (example - group 2 - the second group in the list)

### **Actual Behavior**

In all work package widgets the group 2 is hidden

Example: Widget One groups by Priority and Widget Two Groups by Project - Clicking the - Button to reduce the Priority Group "Normal" also reduces the Second Project in the other Widget

### **Expected Behavior**

Group 2 is only hidden in the Widget where the button was pressed
