mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-09 10:15:24 +02:00
Version 14.108.2
This commit is contained in:
parent
3775f10caa
commit
fa5b52a1d5
|
@ -103,11 +103,12 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 14.108.1 (2015/04/03)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 14.108.2 (2015/04/03)"
|
||||
|
||||
// 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 14.108.2: Apr 03, 2015 Fixed bug in statistic about institutions. (184142 lines)
|
||||
Version 14.108.1: Apr 03, 2015 Fixed bug in statistic about institutions. (184137 lines)
|
||||
Version 14.108: Apr 03, 2015 New statistic (figure) about institutions. (184136 lines)
|
||||
Version 14.107.8: Apr 03, 2015 Changes in statistics (figures about hierarchy). (183774 lines)
|
||||
|
|
|
@ -4547,6 +4547,7 @@ static void Sta_GetAndShowInssOrderedByNumCtrs (void)
|
|||
sprintf (Query,"SELECT InsCod,COUNT(*) AS N"
|
||||
" FROM centres"
|
||||
" WHERE InsCod='%ld'"
|
||||
" GROUP BY InsCod"
|
||||
" ORDER BY N DESC",
|
||||
Gbl.CurrentIns.Ins.InsCod);
|
||||
break;
|
||||
|
@ -4600,6 +4601,7 @@ static void Sta_GetAndShowInssOrderedByNumDegs (void)
|
|||
" FROM centres,degrees"
|
||||
" WHERE centres.InsCod='%ld'"
|
||||
" AND centres.CtrCod=degrees.CtrCod"
|
||||
" GROUP BY centres.InsCod"
|
||||
" ORDER BY N DESC",
|
||||
Gbl.CurrentIns.Ins.InsCod);
|
||||
break;
|
||||
|
@ -4656,6 +4658,7 @@ static void Sta_GetAndShowInssOrderedByNumCrss (void)
|
|||
" WHERE centres.InsCod='%ld'"
|
||||
" AND centres.CtrCod=degrees.CtrCod"
|
||||
" AND degrees.DegCod=courses.DegCod"
|
||||
" GROUP BY centres.InsCod"
|
||||
" ORDER BY N DESC",
|
||||
Gbl.CurrentIns.Ins.InsCod);
|
||||
break;
|
||||
|
@ -4715,6 +4718,7 @@ static void Sta_GetAndShowInssOrderedByNumUsrsInCrss (void)
|
|||
" AND centres.CtrCod=degrees.CtrCod"
|
||||
" AND degrees.DegCod=courses.DegCod"
|
||||
" AND courses.CrsCod=crs_usr.CrsCod"
|
||||
" GROUP BY centres.InsCod"
|
||||
" ORDER BY N DESC",
|
||||
Gbl.CurrentIns.Ins.InsCod);
|
||||
break;
|
||||
|
@ -4767,6 +4771,7 @@ static void Sta_GetAndShowInssOrderedByNumUsrsWhoClaimToBelongToThem (void)
|
|||
sprintf (Query,"SELECT InsCod,COUNT(*) AS N"
|
||||
" FROM usr_data"
|
||||
" WHERE InsCod='%ld'"
|
||||
" GROUP BY centres.InsCod"
|
||||
" ORDER BY N DESC",
|
||||
Gbl.CurrentIns.Ins.InsCod);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user