From 1206fea4c6c3d07a2cc26fac8ca95fb8e180e901 Mon Sep 17 00:00:00 2001 From: albertogp Date: Mon, 3 May 2021 17:51:04 +0200 Subject: #1040 Fix delete cache image on computer groups This commit fixes delete image cache (EliminarImagenCache) form to show cached images as expected when used on a scope group of computers --- admin/WebConsole/comandos/EliminarImagenCache.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/admin/WebConsole/comandos/EliminarImagenCache.php b/admin/WebConsole/comandos/EliminarImagenCache.php index 4fb0088a..6c9e92ba 100644 --- a/admin/WebConsole/comandos/EliminarImagenCache.php +++ b/admin/WebConsole/comandos/EliminarImagenCache.php @@ -307,11 +307,10 @@ switch($ambito){ break; case $AMBITO_GRUPOSORDENADORES : - $cmd->texto="SELECT * FROM ordenadores,aulas,ordenadores_particiones,gruposordenadores + $cmd->texto="SELECT * FROM ordenadores,aulas,ordenadores_particiones JOIN sistemasficheros USING(idsistemafichero) WHERE ordenadores_particiones.idordenador=ordenadores.idordenador AND ordenadores.idaula=aulas.idaula - AND gruposordenadores.idaula=aulas.idaula AND aulas.idcentro='$idc' AND sistemasficheros.nemonico='CACHE' AND ordenadores.grupoid='$idambito'"; -- cgit v1.2.3-18-g5258