optimized relations
This commit is contained in:
parent
982d1f76f1
commit
dff92c8de5
@ -165,12 +165,12 @@ protected function getStudiesQuery(): Builder
|
||||
}
|
||||
|
||||
return $q->with([
|
||||
'organization',
|
||||
'department',
|
||||
'organization:id,name',
|
||||
'department:id,name',
|
||||
'dicomServer',
|
||||
'readingPhysician',
|
||||
'assignedPhysicians',
|
||||
'lockingPhysician',
|
||||
'readingPhysician:id,display_name',
|
||||
'assignedPhysicians:id,display_name',
|
||||
'lockingPhysician:id,display_name',
|
||||
'reports',
|
||||
]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user