# Bug OP-1746 - Removing grouping not saved on existing queries

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

## Open points

_No work packages_

## Details

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

**Preconditions**

  - Work package module activated.
  - Grouped work packages are saved in query.

**Steps to reproduce**

1.  Go to work package list.
2.  Change grouping setting so that no grouping is set.
3.  Select “Save” from menu settings to save settings.
4.  Reload page (e.g. F5)

**Actual behavior**

  - Grouping is not removed from saved query.
  - Actions such as sorting are not properly applied.

**Expected behavior**

  - Possible to remove grouping and save changes.

**Example**

  - Try to remove grouping from the following query and saving:
      - https://community.openproject.org/projects/design/work\_packages?query\_id=552

**QA system**

  - openproject-org.qa.finn.de
  - OpenProject 4.0.x
  - OpenProject 4.1.0
