nextcloud / nextcloud/server

user search does not search family name, finds entries that don't match

Open
#56,285 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 31-feedback enhancement feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

I want to write to user that has P in the Family name,
I press 'P' in the text field

For the Chats results section it searches both Name and Family Name

For Users (that I have not yet chatted with):
users with P in surnames are not shown for example John Pocot
users with P in first names are shown correctly
additional user that does not have P is displayed "k. Romak Kudlek"

The text parts i blurred did not have P

Image
Diagnosis report
Nextcloud Talk Desktop
Version v2.0.3
Built-in Talk version v22.0.2
Release channel stable
Operating system Linux 6.17.6-1.0.10.sr20251001-default (#1 SMP PREEMPT_DYNAMIC Wed Oct 29 17:21:06 UTC 2025 (9e452b6))
Executable Path /app/lib/com.nextcloud.talk/Nextcloud Talk
Using Wayland ✅ yes
Connected to -
Nextcloud version 31.0.10
Nextcloud Talk version 21.1.5
notifications app enabled ✅ yes
notify_push app enabled ❌ no
Application config
{
  "launchAtStartup": false,
  "theme": "default",
  "systemTitleBar": true,
  "monochromeTrayIcon": false,
  "zoomFactor": 1,
  "playSoundChat": "respect-dnd",
  "playSoundCall": "respect-dnd",
  "enableCallbox": "respect-dnd",
  "secondarySpeaker": false,
  "secondarySpeakerDevice": null,
  "trustedFingerprints": []
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the user search in Nextcloud Talk with a surname and a first name, comparing the Users results with the Chats results. Trace the server-side search entry point used for users and inspect how name fields and matching results are handled. Done means surname matches are returned and unrelated users are excluded.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.