Content
View differences
Updated by Jens Ulferts about 2 years ago
### Steps to reproduce
1. Go to project and activate "Team planer" module.
2. Assign users to team planer.
3. Take a look at the order of users.
### What is the buggy behavior?
* Users should be sorted by ID in increasing order, but this does not work properly.
* Example ("Test Robin" has ID 157, "Max Mustermann" has ID 3, hence "Max Mustermann" should be listed above "Test Robin") but only the first number is compared "1" (in ID 157) and "3" (in ID 3) which is why the assignee with ID 3 is incorrectly shown below ID 157:
<img class="op-uc-image op-uc-image_inline" style="width:569px;" src="/api/v3/attachments/97923/content">
<img class="op-uc-image op-uc-image_inline" style="width:734px;" src="/api/v3/attachments/97924/content">
### What is the expected behavior?
1. The users Who ID should be sorted by their name. Groups added as assigness are sorted along with the set of users by their name (no special treatment) compared not just first digit.
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* [x] Hosted cloud edition
* [x] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_OP 13.4.1_
**Browser**
* [x] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
1. Go to project and activate "Team planer" module.
2. Assign users to team planer.
3. Take a look at the order of users.
### What is the buggy behavior?
* Users should be sorted by ID in increasing order, but this does not work properly.
* Example ("Test Robin" has ID 157, "Max Mustermann" has ID 3, hence "Max Mustermann" should be listed above "Test Robin") but only the first number is compared "1" (in ID 157) and "3" (in ID 3) which is why the assignee with ID 3 is incorrectly shown below ID 157:
<img class="op-uc-image op-uc-image_inline" style="width:569px;" src="/api/v3/attachments/97923/content">
### What is the expected behavior?
1. The users
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* [x] Hosted cloud edition
* [x] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [ ] Docker-compose installation
* [ ] Other (please specify)
**OpenProject version**
_OP 13.4.1_
**Browser**
* [x] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)