# Bug OP-15163 - Page number not reset when changing the sort order via the "Configure view" modal

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.6.0 |
| Observed in versions | 14.1.0 |
| Sprint | 14.6.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.1.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 | Tobias Dillmann |
| 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.  Go to the project list
    
2.  Change the current page to e.g. 5 (not the first one is the important bit)
    
3.  Open the configuration modal via the &quot;more&quot; menu
    
4.  Change the sort order
    
5.  Click &quot;Apply&quot; to apply the changed order and close the modal
    

### What is the buggy behavior?

*   The current page stays unchanged&nbsp;
    
    *   This happens when clicking on the column header in the results table which also sorts the page
        

### What is the expected behavior?

*   The current page should be set to 1 again
    
    *   At the same time, when only columns are removed/added via the modal, the current page should not change.
