# Bug SPAR-245 - Sum queries (∑) do not display children that are not in the current project in view

Project: Stream Planning and Reporting
Status: closed
URL: https://community.openproject.org/work_packages/SPAR-245

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Relations and scheduling |
| Target versions | 16.0.0 |
| Observed in versions | 15.4.0 |
| Bug found in version (deprecated) | 15.4.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Christophe Bliard |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Have a query with at least one parent ticket with children tickets that are in a different project, the children tickets should have work and remaining work associated to them.

2.  Alternatively, go to <https://qa.openproject-stage.com/projects/cecile-demo-project/work_packages?query_id=949> and scroll to the right to see the work / remaining work columns

3.  Click on the sum ∑ hyperlink next to the feature which has 100h of work allocated

### What is the buggy behaviour?

  - The query to which the user is redirected doesn't show all children tickets

  - Tickets that are not in the current project do not show

  - ∑ query is confusing and seems to be incomplete

### What is the expected behaviour?

1.  All children tickets that make up the ∑ are shown in the ∑ query, regardless of which project they're in
    
    <br>

### 

### Screenshots and other files

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

### Environment information

**OpenProject version**

Core build

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

Product version

[0e381ca55ef56dbc8dc3bd2e904af5ace7dd303b](https://github.com/opf/saas-openproject/commits/0e381ca55ef56dbc8dc3bd2e904af5ace7dd303b)

Core version

OpenProject 15.5.0

**Browser**

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

**Operating System**

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