# Feature OP-17659 - Indicate multiple hierarchy levels when searching in Hierarchy custom field

Project: OpenProject
Status: in specification
URL: https://community.openproject.org/work_packages/OP-17659

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Administration / Custom fields, Modules and project features / Work packages |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer | Marc Alcobé |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a user  
**I want to** see parent hierarchy levels when filtering hierarchy custom fields,  
**so that** I know which sub item I am actually selecting.

**Acceptance criteria**

*   When filtering a hierarchy custom field with a search term, parent level are still recognizable even if they are not matching the filter
    

**Examples / Problem statement**

Given a hierarchy like the following:

*   Accounting
    
    *   Managers
        
*   Sales
    
    *   Managers
        
*   HR
    
    *   Managers
        
*   ...
    

When I try to fill such a custom field in a work package and filter using the term &quot;manag&quot;, this is what I see:

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/755675/content">

We also practically have this problem on community.openproject.org with the modules field, when searching for &quot;auth&quot;:

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/755677/content">

I have no clue what the top-most &quot;Authentication&quot; belongs to.
