# Bug OP-18230 - When a hierarchy/weighted item list is used as filter, sub-items show the short name/score of the ancestor

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration / Custom fields, Modules and project features / Query and filter |
| Target versions | 17.0.0 |
| Observed in versions | 16.6.0 |
| Sprint | 17.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.6.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 | Eric Schubert |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as an admin
    
2.  Go to Administration &gt; Projects &gt; Project Attributes
    
3.  Create 2 attributes, 1 of type Hierarchy, 1 of type Weighted items list (with score/short name)
    
4.  Go to the project list
    
5.  Click on Filter
    
6.  Add your Hierarchy or WIL CFs
    

### What is the buggy behaviour?

*   sub-items show the short name/score of the ancestor
    

### What is the expected behaviour?

1.  sub-items do not show the short name/score of the ancestor
    

###   

### Screenshots and other files

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

### Environment information

**OpenProject version**

Core build

[fa4f9acc5b969aebaa1460feadff0226f1eec33f](https://github.com/opf/openproject/commits/fa4f9acc5b969aebaa1460feadff0226f1eec33f)

Product version

[7bdda5db170a1b4336f68b78cbd594314415b7d5](https://github.com/opf/saas-openproject/commits/7bdda5db170a1b4336f68b78cbd594314415b7d5)

Core version

OpenProject 16.6.1

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [x] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)
