# Bug OP-2241 - Time Sheet / Spent time: Selection is not displayed correctly - time constraints useless

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-2241

## Open points

_No work packages_

## Details

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

Environments: Ubuntu 12.04 and Firefox 40.0.3, Ubuntu 14.04 and Firefox 40.0.3, Windows 8.1 and Internet Explorer 11, Windows 8.1 and Firefox 40.0.3

Steps to reproduce:  
1\) Select a project with some “Spent time” entries  
2\) Choose specific “From” and “To” dates to specify a time period to display a subset of the time entries and press “Apply”  
3\) Subset is displayed correctly (but not ordered by date as the small arrow in the header would imply)  
4\) Click on a different column, e.g. “User” to change the sorting order  
5\) See that the time constraints are rendered useless, arbitrary older or newer entries are displayed (see screenshot below )

![](constraints_useless.JPG)
