# Bug OP-18163 - Radio buttons to compare Repository Revisions do not adjust correctly

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Repository |
| Target versions | 17.0.0 |
| Observed in versions | 16.6.0 |
| Sprint | 17.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 16.6.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.  Login as a user with permissions to manage project repositories.
    
2.  Create a git repository for a given project with at least a couple commits.
    
3.  Go to the Repository.
    
4.  Click the radio button to the right of a commit SHA (in second column).
    

### What is the buggy behavior?

*   The radio button is selected.
    
*   Nothing happens to the radio button in the next column (third column)
    

### What is the expected behavior?

*   The radio buttons should adjust to allow a &quot;range of revisions&quot; to be selected:
    
    *   The radio button on the left should always be above the radio button on the right.
        
    *   The radio button on the right should always be below the radio button on the right.
        
    *   Clicking the radio button on the left in the same row as the checked radio button on the right will move the radio button on the right down one row.
        
    *   Clicking the radio button on the right in the same row as the checked radio button on the left will move the radio button on the left up one row.
        

### Screenshots and other files

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

**See also actual and expected video attachments.**

### Note

This bug is based on behavior inferred from broken code.

### Environment information

**OpenProject installation type**

*   Hosted cloud edition
    

**OpenProject version**

16.6

**Browser**

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

**Operating System**

*   [ ] Windows
*   [x] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)

**Language**

_en\_GB_
