[LON-CAPA-cvs] cvs: loncom /interface lonmsgdisplay.pm

raeburn raeburn@source.lon-capa.org
Fri, 28 Aug 2009 19:58:58 -0000


raeburn		Fri Aug 28 19:58:58 2009 EDT

  Modified files:              
    /loncom/interface	lonmsgdisplay.pm 
  Log:
  - Bug 6005.
   - Message number in left column of mail folder listing matches number range given in table preamble.
  
  
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.131 loncom/interface/lonmsgdisplay.pm:1.132
--- loncom/interface/lonmsgdisplay.pm:1.131	Mon Jul 27 12:12:47 2009
+++ loncom/interface/lonmsgdisplay.pm	Fri Aug 28 19:58:57 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.131 2009/07/27 12:12:47 kalberla Exp $
+# $Id: lonmsgdisplay.pm,v 1.132 2009/08/28 19:58:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1097,7 +1097,7 @@
     $r->print("</tr>\n");
 
     my $suffix = &Apache::lonmsg::foldersuffix($folder);
-    my $count = 0;
+    my $count = $firstdis;
     for (my $n=$firstdis;$n<=$lastdis;$n++) {
 	my ($sendtime,$shortsubj,$fromname,$fromdomain,$status,$origID,
 	    $description,$recv_name,$recv_domain)=