# Bug OP-9680 - Dropdown menu of parent child board not showing all WPs

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 12.0.7 |
| Observed in versions | 12.0.0 |
| Sprint | 12.0.7 |
| 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.5 / Entreprise Edition

MacOS / FireFox / OpenProject language: Frenche

### **Logs**

N/A

### **Steps to reproduce:**

1.  Go to a parent-child view
2.  Add new parent 
3.  Search for a work package

### **Actual Behavior**

Only the N first workPackages are displayed and can be filterted. 

N is equal to the number of objects per page set in the generale systeme settings 

Here is an exemple : 

Set number of objects per page to 2 : 

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/26652/content"></div></figure>

Go to a parent-chilld bord view and add a WP : 

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/26653/content"></div></figure>

You can not search WP that it the list. the search bear does not trigger are new request it only filters on the WP fetch on the first request

Exemple with search :

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/26654/content"></div></figure>

Now change nomber of objects per page to 300 : 

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/26655/content"></div></figure>

### **Expected Behavior**

When intering text or a WP number in search bar the list should update. 

This bug appered after correct the bug <mention class="mention" data-id="40141" data-type="work_package" data-text="#40141">\#40141</mention>
