Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cmadjar committed Sep 24, 2021
1 parent 7384d0d commit 23c6318
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions modules/mri_violations/php/mri_protocol_violations.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
[]
);
Expand Down

0 comments on commit 23c6318

Please sign in to comment.