Version 16.71.9

This commit is contained in:
Antonio Cañas Vargas 2016-11-27 12:45:42 +01:00
parent b456232494
commit ddad450eda
2 changed files with 10 additions and 2 deletions

View File

@ -178,13 +178,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.71.8 (2016-11-26)"
#define Log_PLATFORM_VERSION "SWAD 16.71.9 (2016-11-26)"
#define CSS_FILE "swad16.69.css"
#define JS_FILE "swad16.46.1.js"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
/*
Version 16.71.9: Nov 26, 2016 Fixed bug in list of students, reported by Javier Fernández Baldomero. (207641 lines)
Version 16.71.8: Nov 26, 2016 Contextual help on email to students.
Contextual help on global announcements. (207634 lines)
Version 16.71.7: Nov 26, 2016 Code refactoring in timetable. (207626 lines)

View File

@ -5814,9 +5814,16 @@ void Usr_ListAllDataStds (void)
Sco_SetScopesForListingStudents ();
Sco_GetScope ("ScopeUsr");
/***** Get groups to show *****/
/***** If the scope is the current course... *****/
if (Gbl.Scope.Current == Sco_SCOPE_CRS)
{
/* Get list of groups types and groups in current course
This is necessary to show columns with group selection */
Grp_GetListGrpTypesInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS);
/* Get groups to show */
Grp_GetParCodsSeveralGrpsToShowUsrs ();
}
/****** Get and order list of students in current course ******/
Usr_GetListUsrs (Rol_STUDENT,Gbl.Scope.Current);