# Bug OP-9973 - Work package table relation column values not complete 

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

## Open points

_No work packages_

## Details

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

### **Steps to reproduce:**

1.  Have a list of work packages where the work packages have more related work packages than fit in the minimal page size, e.g.
    1.  Have a minimum page size of 2 configured
    2.  Have 4 work packages
    3.  Have a relationship &quot;related to&quot; between the first work package and the other three 
2.  Go to the list of work packages
3.  Add a relation column e.g. &quot;related to&quot; 

### **Actual Behavior**

The relation column does not include all related work packages

### **Expected Behavior**

All related work packages should be included

### Note

The bug is caused as a single request is issued to `/api/v3/relations` with an `involved` filter containing the ID of all the work packages on the page without specifying a `pageSize` so that the minimum page size is used. Ideally a larger pageSize or the magic number `-1` would be employed but as that new limit might still not be enough, a mechanism to load ensure that all relations are loaded needs to be implemented.
