# Bug OP-11650 - In Activity page, "subprojects" is checked when navigating between pages

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

## Open points

_No work packages_

## Details

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

1.  Context:
    *   one parent project with activity module enabled
    *   one child project with activity module enabled
2.  Go to the activity page of the parent project
3.  Uncheck the &quot;Subprojects&quot; checkbox in the bottom of the left pane
4.  Click &quot;Apply&quot;
    *   \=&gt; only the events of the parent projects are displayed
5.  On the bottom of the page, click &quot;Previous&quot; link

### What is the buggy behavior?

*   After clicking &quot;Previous&quot;, the &quot;Subprojects&quot; checkbox is checked and the activities of the subprojects are visible
*   Unchecking the &quot;Subprojects&quot; checkbox and clicking apply will reset the view to the first page

### What is the expected behavior?

1.  Clicking &quot;Previous&quot; should keep the checkboxes selection.
    *   The checked/unchecked status is kept for the categories
    *   It is not kept for &quot;Subprojects&quot;
2.  Changing checkboxes selection and clicking apply should stay on the same timeframe
    *   The timeframe is reset to last ~30 days.

### Environment information

**OpenProject installation type**

*   [x] Hosted cloud edition
*   [ ] Packaged installation
    *   What distribution?
*   [ ] Docker All-in-one container
*   [ ] Docker-compose installation
*   [ ] Other (please specify)

**OpenProject version**

Community on 2022-12-09 

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><tbody><tr class="op-uc-table--row"><td class="op-uc-p op-uc-table--cell">12.4.0.e74f2c0dff</td><td class="op-uc-p op-uc-table--cell">Fri, 02 Dec 2022 10:34:06 GMT</td></tr></tbody></table></figure>

**Browser**

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