Index: lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McMonitoringStarterAction.java =================================================================== diff -u -rafa0e6bf1c5690c4f8c49b0b767f75c000ff1fe2 -r5de7bccf84e718b3d78091c0a4c7d29097f1c22e --- lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McMonitoringStarterAction.java (.../McMonitoringStarterAction.java) (revision afa0e6bf1c5690c4f8c49b0b767f75c000ff1fe2) +++ lams_tool_lamc/src/java/org/lamsfoundation/lams/tool/mc/web/McMonitoringStarterAction.java (.../McMonitoringStarterAction.java) (revision 5de7bccf84e718b3d78091c0a4c7d29097f1c22e) @@ -295,7 +295,7 @@ /* * persist time zone information to session scope. */ - McUtils.persistTimeZone(request); + McUtils.saveTimeZone(request); /* we have made sure TOOL_CONTENT_ID is passed */ Long toolContentId =(Long) request.getSession().getAttribute(TOOL_CONTENT_ID); @@ -369,8 +369,9 @@ } /* this section is related to Stats tab. Starts here. */ - int countSessionComplete=mcService.countSessionComplete(mcContent); - logger.debug("countSessionComplete: " + countSessionComplete); + //int countSessionComplete=mcService.countSessionComplete(mcContent); + int countUserComplete=mcService.countUserComplete(mcContent); + logger.debug("countUserComplete: " + countUserComplete); int countMaxAttempt=1; logger.debug("countMaxAttempt: " + countMaxAttempt); @@ -385,7 +386,7 @@ logger.debug("averageMark: " + averageMark); request.getSession().setAttribute(COUNT_ALL_USERS, new Integer(countAllUsers).toString()); - request.getSession().setAttribute(COUNT_SESSION_COMPLETE, new Integer(countSessionComplete).toString()); + request.getSession().setAttribute(COUNT_SESSION_COMPLETE, new Integer(countUserComplete).toString()); request.getSession().setAttribute(COUNT_MAX_ATTEMPT, new Integer(countMaxAttempt).toString()); request.getSession().setAttribute(TOP_MARK, new Integer(topMark).toString()); request.getSession().setAttribute(LOWEST_MARK, new Integer(lowestMark).toString());