diff --git a/swad_changelog.h b/swad_changelog.h index cf8b258d5..41cd58f52 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -114,7 +114,6 @@ // TODO: Width of column for data in notifications is too short // TODO: Change size of DegTypName in table deg_types from VARCHAR(32) TO VARCHAR(255) // TODO: If a follower follows a user whose profile is no longer visible ==> put icon to unfollow in list of followed -// TODO: FIX BUG: In results of search of students, no mark of confirmation is shown even if the student really has confirmed his/her registration in the course // TODO: Insert "http://" to WWW when WWW does not start with "*://" // TODO: Icon to the left in list of forums is not correct when scope is system // TODO: Move info about number of files to bottom of file browsers @@ -133,13 +132,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.223.1 (2016-06-12)" +#define Log_PLATFORM_VERSION "SWAD 15.223.2 (2016-06-12)" #define CSS_FILE "swad15.218.css" #define JS_FILE "swad15.216.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 15.223.2: Jun 12, 2016 Fixed bug in results of search of students. (202277 lines) Version 15.223.1: Jun 12, 2016 Show only users to follow with first name and surname 1. (202276 lines) Version 15.223: Jun 12, 2016 New forms to change course configuration. (202268 lines) 4 changes necessary in database: diff --git a/swad_course.c b/swad_course.c index 37627f674..c4e015de4 100644 --- a/swad_course.c +++ b/swad_course.c @@ -3116,13 +3116,14 @@ static void Crs_WriteRowCrsData (unsigned NumCrs,MYSQL_ROW row,bool WriteColumnA bool Accepted; /* - SELECT degrees.DegCod, 0 - courses.CrsCod, 1 - degrees.ShortName, 2 - degrees.FullName, 3 - courses.Year, 4 - courses.FullName, 5 - centres.ShortName 6 + SELECT degrees.DegCod 0 + courses.CrsCod 1 + degrees.ShortName 2 + degrees.FullName 3 + courses.Year 4 + courses.FullName 5 + centres.ShortName 6 + crs_usr.Accepted 7 (only if WriteColumnAccepted == true) */ /***** Get degree code (row[0]) *****/ @@ -3157,7 +3158,7 @@ static void Crs_WriteRowCrsData (unsigned NumCrs,MYSQL_ROW row,bool WriteColumnA /***** Teacher has accepted joining to this course/to any course in degree/to any course? *****/ if (WriteColumnAccepted) { - Accepted = (Str_ConvertToUpperLetter (row[8][0]) == 'Y'); + Accepted = (Str_ConvertToUpperLetter (row[7][0]) == 'Y'); fprintf (Gbl.F.Out,"" "