# Bug OP-11110 - Date picker: order of working day toggle different for milestone and phase typed work packages

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

## Open points

_No work packages_

## Details

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

_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_

1.  Have a phase typed work package (a work package with both start and finish date)
2.  Have a milestone typed work package (a work package with only one date)
3.  Compare the order for the &quot;Working days&quot; toggle between the two.

### What is the buggy behavior?

_Please describe the bug with as most details as possible. Example:_

Order for milestone typed work packages:

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

Order for phase typed work packages:

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

  

### What is the expected behavior?

_Describe how the application should behave like. Example:_

1.  The order of the two options should be the same between a single date datepicker and a two date datepicker.

**Browser**

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

**Language**

_Please specify the browser language and the language of the OpenProject user for which the bug ocurred._
