# Bug OP-7753 - Grouping work package list by bool custom field fails

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 12.0.0 |
| Observed in versions | 10.5.0 |
| Sprint | 12.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.5.x |
| 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**:

Your OpenProject Version: 11.0.0

### **Logs**

<figure class="image"><img src="/api/v3/attachments/19409/content"></figure>

### **Steps to reproduce:**

1.  Have a boolean custom field for work package
2.  Set a work package to have the boolean cf set to `true` 
3.  Go to wp list
4.  Group by boolean custom field

### **Actual Behavior**

The page seems to load indefinitely. An error is displayed in the console.

### **Expected Behavior**

WP list grouped by bool cf.
