Version20.7.4

This commit is contained in:
acanas 2020-12-01 09:58:21 +01:00
parent 02ea922ebe
commit 598311b0bb
2 changed files with 4 additions and 6 deletions

View File

@ -555,7 +555,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 20.7.3 (2020-11-26)"
#define Log_PLATFORM_VERSION "SWAD 20.7.4 (2020-12-01)"
#define CSS_FILE "swad20.1.1.css"
#define JS_FILE "swad20.6.2.js"
/*
@ -602,6 +602,7 @@ Juan Miguel.
TODO: Fix bug: un profesor editor no puede ver las carpetas de TFG (proyectos) de otros. Debería poder.
TODO: DNI de un estudiante sale erróneamente como ******* en lugar de mostrarse al ver los accesos de un estudiante a la asignatura.
Version 20.7.4: Dec 01, 2020 Fixed bug in pagination of forums of a thread. Reported by Javier Fernández Baldomero. (304705 lines)
Version 20.7.3: Nov 26, 2020 Fixed bugs in pagination when editing assignments. (304706 lines)
Version 20.7.2: Nov 25, 2020 Changes in edition of matches. (304690 lines)
Version 20.7.1: Nov 25, 2020 New file extension .ipynb, suggested by Pedro A. García Sánchez. (304688 lines)

View File

@ -3322,10 +3322,7 @@ static void For_ListForumThrs (struct For_Forums *Forums,
/***** Initialize structure with user's data *****/
Usr_UsrDataConstructor (&UsrDat);
/***** Initialize forums context *****/
Forums->CurrentPagePsts = 1; // Page of posts = first
Forums->PstCod = -1L;
/***** List threads *****/
for (NumThr = PaginationThrs->FirstItemVisible, NumThrInScreen = 0, UniqueId = 0, Gbl.RowEvenOdd = 0;
NumThr <= PaginationThrs->LastItemVisible;
NumThr++, NumThrInScreen++, Gbl.RowEvenOdd = 1 - Gbl.RowEvenOdd)
@ -3377,7 +3374,7 @@ static void For_ListForumThrs (struct For_Forums *Forums,
Frm_StartFormAnchor (For_ActionsCutThrFor[Forums->Forum.Type],
For_FORUM_THREADS_SECTION_ID);
For_PutAllHiddenParamsForum (Forums->CurrentPageThrs, // Page of threads = current
1, // Page of posts = first
1, // Page of posts = first
Forums->ForumSet,
Forums->ThreadsOrder,
Forums->Forum.Location,