feat: merge cross-album search, auto-rules, album UI redesign, editorial archiving and pdf download into main

This commit is contained in:
Leon Tonhäuser committed 2026-08-11 02:53:19 +02:00
commit e555069ee1
22 files changed
+1110 -138

No files matched your search

+3 -1
View File
@@ -45,7 +45,9 @@ export function createAlbumCatalog({ grants, immich }: AlbumCatalogDependencies)
input: SearchVisiblePhotosInput,
): Promise<ImmichSearchPage> {
const grantedAlbumIds = await currentGrantIds(grants, editorialId);
const albumIds = authorizedSearchAlbums(grantedAlbumIds, input.requestedAlbumId);
const albumIds = input.requestedAlbumId
? authorizedSearchAlbums(grantedAlbumIds, input.requestedAlbumId)
: grantedAlbumIds;
if (albumIds.length === 0) {
return emptySearchPage();
}