# Bug OP-9398 - Duplicate requests for relations column leading to slow work package table rendering

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

## Open points

_No work packages_

## Details

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

OP 11.4 and OP 12.0

### **Logs**

  

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/23437/content"></div></figure>

### **Steps to reproduce:**

1.  Have a work package with relations (e.g. related to)
2.  Go to a work package list
3.  Ensure the work package is present in the page (e.g. by filtering for the id)
4.  Add a relations column (e.g. related to)

### **Actual Behavior**

Duplicated requests for the relations column  (first to `/api/v3/relations` and then to `api/v3/work_packages` ). In case of many work packages on the page with a lot of relations, this can add seconds to the time the table is drawn since it is only rendered after the requests have completed. The user thus has to wait longer than necessary. The server handles unnecessary requests. 

### **Expected Behavior**

Requests for the relations column only carried out once.
