mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-28 20:43:27 +02:00
Version 15.199.2
This commit is contained in:
parent
b5c01ab334
commit
28ebd38569
|
@ -135,13 +135,15 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.199 (2016-04-16)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.199.2 (2016-04-16)"
|
||||
#define CSS_FILE "swad15.198.css"
|
||||
#define JS_FILE "swad15.197.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.199.2: Apr 16, 2016 Fixed bug in social comments, reported by Javier Fernández Baldomero. (199666 lines)
|
||||
Version 15.199.1: Apr 16, 2016 Fixed bug in Statistics > Degrees. (199665 lines)
|
||||
Version 15.199: Apr 16, 2016 In Statistics > Degrees, show only degrees with students.
|
||||
Code optimization in number of courses in a degree. (199665 lines)
|
||||
Version 15.198: Apr 15, 2016 Changes in layout related to image URL. (199646 lines)
|
||||
|
|
|
@ -1803,7 +1803,7 @@ void Deg_GetListAllDegsWithStds (struct ListDegrees *Degs)
|
|||
"degrees.DegTypCod,degrees.Status,degrees.RequesterUsrCod,"
|
||||
"degrees.ShortName,degrees.FullName,degrees.WWW"
|
||||
" FROM degrees,courses,crs_usr"
|
||||
" WHERE degrees.DegCod=courses.CrsCod"
|
||||
" WHERE degrees.DegCod=courses.DegCod"
|
||||
" AND courses.CrsCod=crs_usr.CrsCod"
|
||||
" AND crs_usr.Role='%u'"
|
||||
" ORDER BY degrees.ShortName",
|
||||
|
|
|
@ -1237,7 +1237,7 @@ static long Pho_GetDegWithAvgPhotoLeastRecentlyUpdated (void)
|
|||
/* Get one degree with students not yet computed */
|
||||
sprintf (Query,"SELECT DISTINCT degrees.DegCod"
|
||||
" FROM degrees,courses,crs_usr"
|
||||
" WHERE degrees.DegCod=courses.CrsCod"
|
||||
" WHERE degrees.DegCod=courses.DegCod"
|
||||
" AND courses.CrsCod=crs_usr.CrsCod"
|
||||
" AND crs_usr.Role='%u'"
|
||||
" AND degrees.DegCod NOT IN"
|
||||
|
@ -1267,7 +1267,7 @@ static long Pho_GetDegWithAvgPhotoLeastRecentlyUpdated (void)
|
|||
sprintf (Query,"SELECT sta_degrees.DegCod"
|
||||
" FROM sta_degrees,courses,crs_usr"
|
||||
" WHERE sta_degrees.TimeAvgPhoto<FROM_UNIXTIME(UNIX_TIMESTAMP()-'%lu')"
|
||||
" AND sta_degrees.DegCod=courses.CrsCod"
|
||||
" AND sta_degrees.DegCod=courses.DegCod"
|
||||
" AND courses.CrsCod=crs_usr.CrsCod"
|
||||
" AND crs_usr.Role='%u'"
|
||||
" ORDER BY sta_degrees.TimeAvgPhoto LIMIT 1",
|
||||
|
|
|
@ -4386,7 +4386,7 @@ static void Soc_GetDataOfSocialComByCod (struct SocialComment *SocCom)
|
|||
"social_comments.Content,"
|
||||
"social_comments.ImageName,"
|
||||
"social_comments.ImageTitle,"
|
||||
"social_comments.ImageURL,"
|
||||
"social_comments.ImageURL"
|
||||
" FROM social_pubs,social_comments"
|
||||
" WHERE social_pubs.PubCod='%ld'"
|
||||
" AND social_pubs.PubType='%u'"
|
||||
|
|
Loading…
Reference in New Issue
Block a user