comparison OrthancServer/Sources/ServerJobs/ArchiveJob.cpp @ 5403:05cb668c5f3f

fix to keep backward behaviour when exporting a series archive
author Alain Mazy <am@osimis.io>
date Tue, 17 Oct 2023 06:46:32 +0200
parents fc604681e6be
children b83192e7ad10
comparison
equal deleted inserted replaced
5402:bd3bae1525dd 5403:05cb668c5f3f
1192 ArchiveJob::ArchiveJob(ServerContext& context, 1192 ArchiveJob::ArchiveJob(ServerContext& context,
1193 bool isMedia, 1193 bool isMedia,
1194 bool enableExtendedSopClass, 1194 bool enableExtendedSopClass,
1195 ResourceType jobLevel) : 1195 ResourceType jobLevel) :
1196 context_(context), 1196 context_(context),
1197 archive_(new ArchiveIndex(GetArchiveResourceType(jobLevel))), // root 1197 archive_(new ArchiveIndex(GetArchiveResourceType(jobLevel))), // get patient Info from this level
1198 isMedia_(isMedia), 1198 isMedia_(isMedia),
1199 enableExtendedSopClass_(enableExtendedSopClass), 1199 enableExtendedSopClass_(enableExtendedSopClass),
1200 currentStep_(0), 1200 currentStep_(0),
1201 instancesCount_(0), 1201 instancesCount_(0),
1202 uncompressedSize_(0), 1202 uncompressedSize_(0),