This commit is contained in:
José González 2022-09-29 00:24:31 +02:00
parent f8efbc5fce
commit a4be805ba4
1 changed files with 3 additions and 2 deletions

View File

@ -920,7 +920,7 @@ switch ($sortField) {
break; break;
case 'type': case 'type':
$fieldForSorting = 'id_tipo_modulo'; $fieldForSorting = 'module_type';
switch ($sort) { switch ($sort) {
case 'up': case 'up':
$selectDataTypeUp = $selected; $selectDataTypeUp = $selected;
@ -941,7 +941,7 @@ switch ($sortField) {
break; break;
case 'moduletype': case 'moduletype':
$fieldForSorting = 'id_modulo'; $fieldForSorting = 'module_type';
switch ($sort) { switch ($sort) {
case 'up': case 'up':
$selectTypeUp = $selected; $selectTypeUp = $selected;
@ -1112,6 +1112,7 @@ switch ($sortField) {
break; break;
} }
$sql = 'SELECT $sql = 'SELECT
(SELECT GROUP_CONCAT(ttag.name SEPARATOR \',\') (SELECT GROUP_CONCAT(ttag.name SEPARATOR \',\')
FROM ttag FROM ttag