# Bug OP-13015 - Switching from custom view to built in view does not reset the baseline functionality

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 13.0.0 |
| Observed in versions |  |
| Sprint | 13.0.0 |
| 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

### 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 custom view/query in the work package table view
2.  Activate the baseline functionality for it e.g. by choosing "Last working day". Don't save.
3.  Switch from that custom view to one of the builtins e.g. "All open"

### What is the buggy behavior?

*Please describe the bug in as much detail as possible. Example:*

  - The baseline functionality is still active:
      - Legend still displayed (but apparently broken)
      - Modal filled

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

### What is the expected behavior?

*Describe how the application should behave like. Example:*

1.  Upon switching to a builtin view, baseline should be reset
