diff --git a/modules/mri_violations/php/mri_protocol_violations.class.inc b/modules/mri_violations/php/mri_protocol_violations.class.inc index 8c54c31c57e..665455a01bc 100644 --- a/modules/mri_violations/php/mri_protocol_violations.class.inc +++ b/modules/mri_violations/php/mri_protocol_violations.class.inc @@ -170,17 +170,18 @@ class Mri_Protocol_Violations extends \NDB_Menu_Filter // and add Scan_type from mri_scan_type // to mri_protocol's Scan_type $rows = $db->pselect( - "SELECT p.ID, mpg.Name as 'Protocol Group', Center_name, ScannerID, - p.Scan_type, TR_min, TR_max, TE_min, TE_max, TI_min, + "SELECT p.ID, mpg.Name as 'Protocol Group', psc.Name as Center_name, + ScannerID, p.Scan_type, TR_min, TR_max, TE_min, TE_max, TI_min, TI_max, slice_thickness_min, slice_thickness_max, xspace_min, xspace_max, yspace_min, yspace_max, zspace_min, zspace_max, xstep_min, xstep_max, ystep_min, ystep_max, zstep_min, zstep_max, time_min, time_max,series_description_regex FROM mri_protocol as p - LEFT JOIN mri_protocol_group mpg + LEFT JOIN mri_protocol_group mpg ON (mpg.MriProtocolGroupID=p.MriProtocolGroupID) LEFT JOIN mri_scan_type as s ON p.Scan_type=s.ID + LEFT JOIN psc ON psc.CenterID=p.CenterID ORDER BY mpg.MriProtocolGroupID ASC, p.Scan_type ASC", [] );