Version 15.135.1

This commit is contained in:
Antonio Cañas Vargas 2016-01-30 02:03:08 +01:00
parent 218c485128
commit 7a41810574
2 changed files with 4 additions and 2 deletions

View File

@ -121,13 +121,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.135 (2016-01-30)"
#define Log_PLATFORM_VERSION "SWAD 15.135.1 (2016-01-30)"
#define CSS_FILE "swad15.134.css"
#define JS_FILE "swad15.131.3.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.135.1: Jan 30, 2016 Fixed bug in figure with number of following and followers. (195518 lines)
Version 15.135: Jan 30, 2016 New figure with number of following and followers. (195516 lines)
Version 15.134.2: Jan 29, 2016 New order of figures. (195327 lines)
Version 15.134.1: Jan 29, 2016 Changes in lists of following/followers. (195326 lines)

View File

@ -6590,7 +6590,8 @@ static void Sta_GetAndShowFollowStats (void)
switch (Gbl.Scope.Current)
{
case Sco_SCOPE_SYS:
sprintf (Query,"SELECT COUNT(DISTINCT FollowedCod) FROM usr_follow");
sprintf (Query,"SELECT COUNT(DISTINCT %s) FROM usr_follow",
FieldDB[Fol]);
break;
case Sco_SCOPE_CTY:
sprintf (Query,"SELECT COUNT(DISTINCT usr_follow.%s)"