# Bug OP-13225 - Switch branch in repository doesn't do anything

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 13.0.2 |
| Observed in versions | 13.0.0 |
| Sprint | 13.0.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.0.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.  Select a Project with an existing Repository and multiple branches within
2.  Goto the Repository page
3.  Select a different branch

### What is the buggy behavior?

  - The view doesn't get updated with the new selected branch

### What is the expected behavior?

1.  Switch to the new branch with commits associated with it

### **Logs**

No log-entries available as there is no HTTP communication with the backend.  
Also no errors in the frontend are thrown.

### Screenshots and other files

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

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

### Environment information

**OpenProject installation type**

- [ ] Hosted cloud edition
- [x] Packaged installation
    - Ubuntu Server 22.04 - Latest updates installed
- [ ] Docker All-in-one container
- [ ] Docker-compose installation
- [ ] Other (please specify)

**OpenProject version**

13.0.1

**Browser**

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

**Language**  
German, English
