Version 20.67.7: Apr 25, 2021 Fixed bug in search of files.

This commit is contained in:
acanas 2021-04-25 21:34:06 +02:00
parent 6f3eec35ea
commit 338783b913
2 changed files with 3 additions and 2 deletions

View File

@ -600,13 +600,14 @@ TODO: Salvador Romero Cort
TODO: FIX BUG, URGENT! En las fechas como parámetro Dat_WriteParamsIniEndDates(), por ejemplo al cambiar el color de la gráfica de accesos por día y hora, no se respeta la zona horaria.
*/
#define Log_PLATFORM_VERSION "SWAD 20.67.6 (2021-04-25)"
#define Log_PLATFORM_VERSION "SWAD 20.67.7 (2021-04-25)"
#define CSS_FILE "swad20.45.css"
#define JS_FILE "swad20.6.2.js"
/*
TODO: Rename CENTRE to CENTER in help wiki.
TODO: Rename ASSESSMENT.Announcements to ASSESSMENT.Calls_for_exams
Version 20.67.7: Apr 25, 2021 Fixed bug in search of files. (309673 lines)
Version 20.67.6: Apr 25, 2021 Fixed bug in surveys. (309672 lines)
Version 20.67.5: Apr 25, 2021 Fixed bug in search of courses. (309671 lines)
Version 20.67.4: Apr 25, 2021 New file extensions for LogicWorks, reported by Eva Martínez Ortigosa. (309670 lines)

View File

@ -698,7 +698,7 @@ static unsigned Sch_SearchOpenDocumentsInDB (const char *RangeQuery)
/***** Check user's permission *****/
if (Sch_CheckIfIHavePermissionToSearch (Sch_SEARCH_OPEN_DOCUMENTS))
/***** Split document string into words *****/
if (Sch_BuildSearchQuery (SearchQuery,"SUBSTRING_INDEX(files.Path,'/',-1)",
if (Sch_BuildSearchQuery (SearchQuery,"SUBSTRING_INDEX(brw_files.Path,'/',-1)",
"_latin1 "," COLLATE latin1_general_ci"))
{
/***** Query database *****/