From b80680c83f929f14a02bf57c1ab02d3c82a08cb3 Mon Sep 17 00:00:00 2001 From: Dave MacFarlane Date: Fri, 13 Nov 2015 10:42:45 -0500 Subject: [PATCH] Remove inefficiency query from stats page --- modules/statistics/php/NDB_Form_statistics.class.inc | 2 ++ modules/statistics/templates/form_stats_MRI.tpl | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/statistics/php/NDB_Form_statistics.class.inc b/modules/statistics/php/NDB_Form_statistics.class.inc index 14eca722f55..7b8734e2c0b 100644 --- a/modules/statistics/php/NDB_Form_statistics.class.inc +++ b/modules/statistics/php/NDB_Form_statistics.class.inc @@ -361,6 +361,7 @@ class NDB_Form_statistics extends NDB_Form } // MRI INTEGRITY STATS // MRI parameter form is completed, but nothing in tarchive + /* $DB->select("SELECT COUNT(distinct f.CommentID) as val, s.CenterID as CenterID FROM flag f JOIN session s ON (f.SessionID=s.ID) @@ -382,6 +383,7 @@ class NDB_Form_statistics extends NDB_Form foreach($result as $row) { $this->tpl_data['mri_errors'][$row['CenterID']]['no_tarchive'] = $row['val']; } + */ // MRI parameter form completed, but nothing in browser $DB->select("SELECT s.CenterID as CenterID, diff --git a/modules/statistics/templates/form_stats_MRI.tpl b/modules/statistics/templates/form_stats_MRI.tpl index 8e15d045d02..82a0d919120 100644 --- a/modules/statistics/templates/form_stats_MRI.tpl +++ b/modules/statistics/templates/form_stats_MRI.tpl @@ -92,7 +92,7 @@ No Parameter Form Completed Nothing in Imaging Browser for Form - No tarchive Entry for Form + {* No tarchive Entry for Form *} Breakdown of Problems @@ -101,7 +101,7 @@ {$mri_errors[$center.NumericID].no_parameter} {$mri_errors[$center.NumericID].no_browser} - {$mri_errors[$center.NumericID].no_tarchive} + {* {$mri_errors[$center.NumericID].no_tarchive} *} Click Here for breakdown per participant {/foreach}