From 87e8c16a90b8ebdd9a49e7d7d67beeef87e41e1c Mon Sep 17 00:00:00 2001 From: Zack Pollard Date: Tue, 16 Jul 2024 11:58:04 +0100 Subject: [PATCH] fix: #11131 storage migration not moving archived files after template change (#11139) --- server/src/services/storage-template.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/services/storage-template.service.ts b/server/src/services/storage-template.service.ts index 1148ac49df..e067252553 100644 --- a/server/src/services/storage-template.service.ts +++ b/server/src/services/storage-template.service.ts @@ -145,7 +145,7 @@ export class StorageTemplateService implements OnEvents { return JobStatus.SKIPPED; } const assetPagination = usePagination(JOBS_ASSET_PAGINATION_SIZE, (pagination) => - this.assetRepository.getAll(pagination, { withExif: true }), + this.assetRepository.getAll(pagination, { withExif: true, withArchived: true }), ); const users = await this.userRepository.getList();