[BUG] Search order when searching for objects seems random #866

Closed
opened 2026-02-04 23:08:58 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Quadrubo on GitHub (May 20, 2023).

The bug

When searching for objects such as "Rollercoaster" or "Pizza" the order of the objects seems to be completely random. When I click on any preexisting category in the UI as it is the case with "Pizza" the search is ordered by date as I'd expect.

Example for the search of Pizza: August 2021 -> July 2021 -> November 2021 -> September 2021 -> November 2022 -> May 2022 -> September 2021 -> ...
Example for the category of Pizza: March 2023 -> February 2023 -> January 2023 -> ...

This happens on both the web and the mobile app.

The OS that Immich Server is running on

Unraid

Version of Immich Server

v1.56.2

Version of Immich Mobile App

v1.56.0 build.79

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Using the Unraid image and shouldn't matter.

Your .env content

Using the Unraid image and shouldn't matter.

Reproduction steps

1. Open the Immich app or the web interface.
2. Click on the category of a random "Thing" in the UI and check the dates of the images.
3. Search for that exact "Thing" in the search bar instead and check the dates of the images.

Additional information

No response

Originally created by @Quadrubo on GitHub (May 20, 2023). ### The bug When searching for objects such as "Rollercoaster" or "Pizza" the order of the objects seems to be completely random. When I click on any preexisting category in the UI as it is the case with "Pizza" the search is ordered by date as I'd expect. Example for the **search** of Pizza: August 2021 -> July 2021 -> November 2021 -> September 2021 -> November 2022 -> May 2022 -> September 2021 -> ... Example for the **category** of Pizza: March 2023 -> February 2023 -> January 2023 -> ... This happens on both the web and the mobile app. ### The OS that Immich Server is running on Unraid ### Version of Immich Server v1.56.2 ### Version of Immich Mobile App v1.56.0 build.79 ### Platform with the issue - [ ] Server - [X] Web - [X] Mobile ### Your docker-compose.yml content ```YAML Using the Unraid image and shouldn't matter. ``` ### Your .env content ```Shell Using the Unraid image and shouldn't matter. ``` ### Reproduction steps ```bash 1. Open the Immich app or the web interface. 2. Click on the category of a random "Thing" in the UI and check the dates of the images. 3. Search for that exact "Thing" in the search bar instead and check the dates of the images. ``` ### Additional information _No response_
Author
Owner

@bo0tzz commented on GitHub (May 20, 2023):

The search is ordered by relevance. More sort options are planned to be added later.

@bo0tzz commented on GitHub (May 20, 2023): The search is ordered by relevance. More sort options are planned to be added later.
Author
Owner

@Quadrubo commented on GitHub (May 20, 2023):

Ah okay thanks :) any feature or issue where this is tracked?

@Quadrubo commented on GitHub (May 20, 2023): Ah okay thanks :) any feature or issue where this is tracked?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#866