From 9b0831dceb2b29a4830da6bead22beb975814975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sat, 7 Oct 2017 19:10:34 +0200 Subject: [PATCH] Version 17.20.6 --- swad_changelog.h | 3 ++- swad_file_browser.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/swad_changelog.h b/swad_changelog.h index f7de682e9..99764daa1 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -256,13 +256,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 17.20.5 (2017-10-07)" +#define Log_PLATFORM_VERSION "SWAD 17.20.6 (2017-10-07)" #define CSS_FILE "swad17.0.css" #define JS_FILE "swad17.17.1.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 17.20.6: Oct 07, 2017 Fixed bug in project documents. (233027 lines) Version 17.20.5: Oct 07, 2017 Title of project is now a link to show the project and its documents. (233024 lines) Version 17.20.4: Oct 07, 2017 Changes in layout of project. (232972 lines) Version 17.20.3: Oct 07, 2017 Changes in layout of project. diff --git a/swad_file_browser.c b/swad_file_browser.c index 00af45757..d442744c1 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -4941,6 +4941,8 @@ static void Brw_PutParamsFullTree (void) { if (Brw_GetIfGroupFileBrowser ()) Grp_PutParamGrpCod (Gbl.CurrentCrs.Grps.GrpCod); + else if (Brw_GetIfProjectFileBrowser ()) // This file browser needs specify a project + Prj_PutParamPrjCod (Gbl.CurrentCrs.Prjs.PrjCod); else if (Brw_GetIfCrsAssigWorksFileBrowser ()) Usr_PutHiddenParUsrCodAll (Brw_ActSeeAdm[Gbl.FileBrowser.Type], Gbl.Usrs.Select[Rol_UNK]);