FIX - limit scope to dicom server
This commit is contained in:
parent
658adbb6be
commit
7455709731
@ -15,6 +15,7 @@ public function __invoke(StudiesSync $sync, Closure $next): StudiesSync
|
||||
$sync->resetQueues();
|
||||
|
||||
$studies = DB::table('studies')
|
||||
->where('dicom_server_id', $sync->getDicomServer()->id)
|
||||
->whereNull('archived_at')
|
||||
->get(['orthanc_uuid', 'workflow_level'])
|
||||
->pluck('workflow_level', 'orthanc_uuid');
|
||||
|
Loading…
Reference in New Issue
Block a user