mirror of https://github.com/acanas/swad-core.git
Version 20.36.46: Mar 01, 2021 Fixed bugs in timeline.
This commit is contained in:
parent
3cad8a3f0a
commit
64e2fc804a
|
@ -553,7 +553,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.36.45 (2021-03-01)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 20.36.46 (2021-03-01)"
|
||||
#define CSS_FILE "swad20.33.9.css"
|
||||
#define JS_FILE "swad20.6.2.js"
|
||||
/*
|
||||
|
@ -601,6 +601,7 @@ TODO: DNI de un estudiante sale err
|
|||
TODO: BUG: Cuando un tipo de grupo sólo tiene un grupo, inscribirse es voluntario, el estudiante sólo puede pertenecer a un grupo, y se inscribe en él, debería poder desapuntarse. Ahora no puede.
|
||||
TODO: Salvador Romero Cortés: @acanas opción para editar posts
|
||||
|
||||
Version 20.36.46: Mar 01, 2021 Fixed bugs in timeline. (305529 lines)
|
||||
Version 20.36.45: Mar 01, 2021 Queries moved to module swad_timeline_database. (305528 lines)
|
||||
Version 20.36.44: Mar 01, 2021 Query moved to module swad_timeline_database. (305516 lines)
|
||||
Version 20.36.43: Mar 01, 2021 Query moved to module swad_timeline_database. (305489 lines)
|
||||
|
|
|
@ -991,7 +991,7 @@ bool TL_DB_CheckIfFavedByUsr (TL_Fav_WhatToFav_t WhatToFav,
|
|||
/***** Check if a user has favourited a note/comment from database *****/
|
||||
return (DB_QueryCOUNT ("can not check if a user has favourited",
|
||||
"SELECT COUNT(*) FROM %s"
|
||||
" WHERE PubCod=%ld AND UsrCod=%ld",
|
||||
" WHERE %s=%ld AND UsrCod=%ld",
|
||||
TL_DB_Table[WhatToFav],
|
||||
TL_DB_Field[WhatToFav],Cod,UsrCod) != 0);
|
||||
}
|
||||
|
|
|
@ -299,7 +299,7 @@ void TL_Fav_PutIconToFavUnfComment (const struct TL_Com_Comment *Com,
|
|||
HTM_DIV_End ();
|
||||
|
||||
/***** Show who have marked this comment as favourite *****/
|
||||
TL_Fav_ShowUsrsWhoHaveMarkedAsFav (TL_Fav_NOTE,
|
||||
TL_Fav_ShowUsrsWhoHaveMarkedAsFav (TL_Fav_COMM,
|
||||
Com->PubCod,Com->UsrCod,Com->NumFavs,
|
||||
HowManyUsrs);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue