# Bug OP-7754 - Graph grouped by bool custom field can have "-" as a label two times 

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

## Open points

_No work packages_

## Details

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

Your OpenProject Version: 11.0

### **Logs**

\-

### **Steps to reproduce:**

1.  Have a boolean custom field
2.  Have three work packages
    1.  Set boolean on first wp to false
    2.  Set boolean on second wp to true
    3.  Leave boolean on third wp unset
3.  Have a wp graph on the overview page, grouped by the boolean custom field

### **Actual Behavior**

Three datasets are displayed where two have '-' as their label (for false and unset)

### **Expected Behavior**

Display 'false' as the label of the dataset for work packages having false for the boolean value.
