# Bug OP-3876 - Grouping is not saved correctly in work package filters

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 7.1.0 |
| Observed in versions |  |
| Sprint | 7.1.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

**Steps to reproduce:**

  - On the work package page (per project or global)
  - I open a previously created filter which includes grouping, let’s say in the global list, by project.
  - Now I click in the menu right top on groups and select `-` to deactivate it.
  - In my current view, the grouping is correctly deactivated.
  - I want to keep this view and overwrite the existing filter by selecting `save`.
  - When I reload my saved filter, the grouping is enabled again.

**Actual Behavior**  
I am unable to take an existing filter with groups enabled to create based on the exisiting filter a new filter and save it for later use. The groups always stay activated once I reload the filter.

**Expected Behavior**  
When loading the previously saved filter without groups, it should load the filter without groups enabled.
