Version 15.230.1

This commit is contained in:
Antonio Cañas Vargas 2016-06-23 21:23:41 +02:00
parent 98b6d1062e
commit f4c3b46811
2 changed files with 3 additions and 2 deletions

View File

@ -129,13 +129,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.230 (2016-06-23)"
#define Log_PLATFORM_VERSION "SWAD 15.230.1 (2016-06-23)"
#define CSS_FILE "swad15.229.css"
#define JS_FILE "swad15.226.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.230.1: Jun 23, 2015 Fixed bug in search of users. (203375 lines)
Version 15.230: Jun 23, 2015 Optimization and bug fixing in search of users. (203374 lines)
Version 15.229: Jun 23, 2015 Search of students available for all users. (203194 lines)
Version 15.228.2: Jun 23, 2015 Code refactoring in lists of users. (202791 lines)

View File

@ -3905,7 +3905,7 @@ static void Usr_SearchListUsrs (Rol_Role_t Role,const char *UsrQuery)
// Users who share any course with me
// and whose privacy is Pri_VISIBILITY_COURSE
"SELECT DISTINCT crs_usr.UsrCod FROM "
"(SELECT UsrCod FROM usr_data WHERE %s) AS candidate_users,crs_usr"
"(SELECT UsrCod FROM usr_data WHERE %s) AS candidate_users,crs_usr,"
"(SELECT CrsCod FROM crs_usr WHERE UsrCod='%ld') AS my_crs,usr_data"
" WHERE candidate_users.UsrCod=crs_usr.UsrCod"
" AND crs_usr.Role='%u'"