# Bug OP-10449 - Project filter is not applied in embedded table

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.1.4 |
| Observed in versions | 12.1.0 |
| Sprint | 12.1.4 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.1.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

### **Steps to reproduce:**

1.  Go to the form configuration of any type
2.  Add an embedded table with a project filter applied
3.  Go to any project, **which is not part of the applied filter** and create a work package with this type.
4.  After creation, go to the displayed embedded table and click in "create new"
5.  Fill in all required fields and press enter

### **Actual Behavior**

  - The work package is successfully created but in the scope of the parent project. Thus it is not shown in the embedded table 

### **Expected Behavior**

  - The filters of the embedded table should be applied when creating a new work package so that it won't get filtered out after creation

### Technical note

This was introduced by this ticket <mention class="mention" data-id="42271" data-type="work_package" data-text="#42271">\#42271</mention>
