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

This commit is contained in:
Leon Tonhäuser committed 2026-08-11 02:53:15 +02:00
1 parent 9c0d43b1ec
commit 375e5b8b7d
23 files changed
+1153 -43

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();
}