[BUG] Suggest people when typing a name doesn't handle full names #1703

Closed
opened 2026-02-05 03:11:59 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @eygraber on GitHub (Nov 30, 2023).

The bug

If I am typing a name the suggestions disappear as soon as a whitespace is typed. For example if I have a person with the name "Foo Bar" while I type "Foo" the suggestion is present, but when I type "Foo " the suggestion goes away until I remove the whitespace. Typing "Foo B" doesn't suggest anything either.

There are no errors in the console or in the server logs.

A quick look suggests it might be because of this and the solution would be to split the search term into whitespace delineated tokens.

The OS that Immich Server is running on

Ubuntu 22.04

Version of Immich Server

1.89.0

Version of Immich Mobile App

N/A

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

1. Type a name and see suggestions
2. Type a whitespace and suggestions go away

Additional information

No response

Originally created by @eygraber on GitHub (Nov 30, 2023). ### The bug If I am typing a name the suggestions disappear as soon as a whitespace is typed. For example if I have a person with the name `"Foo Bar"` while I type `"Foo"` the suggestion is present, but when I type `"Foo "` the suggestion goes away until I remove the whitespace. Typing `"Foo B"` doesn't suggest anything either. There are no errors in the console or in the server logs. A quick look suggests it might be because of [this](https://github.com/immich-app/immich/pull/4566/commits/79e89823d8e2903a90db3b13db2a8c8647ffd325#diff-185e73078772a18812f575108c4dc368aa375a7bd750c97c2d1798d3fedcf431R116-R122) and the solution would be to split the search term into whitespace delineated tokens. ### The OS that Immich Server is running on Ubuntu 22.04 ### Version of Immich Server 1.89.0 ### Version of Immich Mobile App N/A ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps ```bash 1. Type a name and see suggestions 2. Type a whitespace and suggestions go away ``` ### Additional information _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1703