# Bug OP-11023 - Unable to mention User when name display is lastname, firstname

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

## Open points

_No work packages_

## Details

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

*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.  User display format is set to comma-separated values, e.g. last name, forename
2.  Have more than 10 Users with identical surnames (e.g. "Schmitz")
3.  Try to mention a specific user via the "@" function in the activity tab

### What is the buggy behavior?

*Please describe the bug with as most details as possible. Example:*

  - There are only 10 Users displayed
  - The desired user may not be displayed
  - If so: There is no way to adress the desired User except trying via forename
  - If in addition there are more than 10 Users with identical forenames it is possible that you are not able to adress the user at all
  - for example: User Gabriele Schmitz is not adressable in SK environment because of too many "Schmitz" and "Gabriele"s.

### What is the expected behavior?

*Describe how the application should behave like. Example:*

1.  The desired user should be addressable - independent of the number of registered users with similar or identical names
2.  This could be achieved by increasing the number of users displayed in the selection OR by enabling the autocompleter to search over the entire username (first and last name, separated by spaces) OR by preventing the autocompleter to be interrupted as soon as a "comma" is entered

### Important note

*Please note that unless you are a contributor to OpenProject, you can no longer edit this bug report after saving. You can still add new comments, but no longer add any new images or other attachments. Please make sure that all necessary information and attachments are added, and the following attributes are set:*

### **Logs**

*Are there errors in the browser console? (*[*Click here for information on how to open your browser's console*](https://webmasters.stackexchange.com/a/77337)*) For a local installation: Are there relevant logs output by* `_openproject logs_` *(packaged installation) (*[*click here for details*](https://docs.openproject.org/installation-and-operations/operation/monitoring/#show-logs)*) or in a log/production.log or /var/log/openproject/ ? Please attach error output in these log files if applicable*

### Screenshots and other files

*If you have screenshots of the application's bug behavior or other relevant files, please drag them into this place or attach them using the "Files" section.*

### 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**

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

**OpenProject version**

*If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5*

12.1.5 enterprise

**Browser**

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

**Language**

*Please specify the browser language and the language of the OpenProject user for which the bug ocurred.*

DE
