[LON-CAPA-cvs] cvs: loncom /interface/statistics lonsurveyreports.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 28 Jun 2005 20:01:19 -0000
albertel Tue Jun 28 16:01:19 2005 EDT
Modified files:
/loncom/interface/statistics lonsurveyreports.pm
Log:
- BUG#4180, HTML survey reports were using part id not the part 'display'
Index: loncom/interface/statistics/lonsurveyreports.pm
diff -u loncom/interface/statistics/lonsurveyreports.pm:1.8 loncom/interface/statistics/lonsurveyreports.pm:1.9
--- loncom/interface/statistics/lonsurveyreports.pm:1.8 Thu Apr 7 02:56:24 2005
+++ loncom/interface/statistics/lonsurveyreports.pm Tue Jun 28 16:01:17 2005
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonsurveyreports.pm,v 1.8 2005/04/07 06:56:24 albertel Exp $
+# $Id: lonsurveyreports.pm,v 1.9 2005/06/28 20:01:17 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -483,7 +483,8 @@
$Str .= '<tr>'.
'<td><b>'.&mt('Total').'</b></td>'.
'<td>'.$data->{'_count'}.'</td>'.
- '<td>'.&mt('Part [_1], Response [_2]',$partid,$respid).'</td>'.
+ '<td>'.&mt('Part [_1], Response [_2]',
+ $resource->part_display($partid),$respid).'</td>'.
'</tr>';
if (exists($data->{'responses'}) &&
ref($data->{'responses'}) eq 'ARRAY') {