[PR #8035] fix(server): "view all" for cities only showing 12 cities #11894

Closed
opened 2026-02-05 14:47:49 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/immich-app/immich/pull/8035

State: closed
Merged: Yes


Description

This PR adds a new endpoint for getting assets by distinct city to fix this issue. The query for the explore page is also updated to sort by the cities with the most assets, consistent with the query for people.

Fixes #7070

How Has This Been Tested?

Tested that clicking "View All" shows a high number of thumbnails with the same styling as in the explore page. Also checked that the assets shown in the explore page are no longer sorted in alphabetical order.

**Original Pull Request:** https://github.com/immich-app/immich/pull/8035 **State:** closed **Merged:** Yes --- ## Description This PR adds a new endpoint for getting assets by distinct city to fix this issue. The query for the explore page is also updated to sort by the cities with the most assets, consistent with the query for people. Fixes #7070 ## How Has This Been Tested? Tested that clicking "View All" shows a high number of thumbnails with the same styling as in the explore page. Also checked that the assets shown in the explore page are no longer sorted in alphabetical order.
OVERLORD added the pull-request label 2026-02-05 14:47:49 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#11894