Version 15.223.2

This commit is contained in:
Antonio Cañas Vargas 2016-06-12 13:47:19 +02:00
parent d963ae5f54
commit 262b0a0b11
2 changed files with 11 additions and 10 deletions

View File

@ -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:

View File

@ -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,"<td class=\"BT %s\">"
"<img src=\"%s/%s16x16.gif\""
" alt=\"%s\" title=\"%s\""