mirror of
https://github.com/devcode-it/openstamanager.git
synced 2024-12-29 09:11:11 +01:00
Fix query vista utenti e permessi
This commit is contained in:
parent
4aaafb6775
commit
382173c2b2
13
update/2_4_40.sql
Normal file
13
update/2_4_40.sql
Normal file
@ -0,0 +1,13 @@
|
||||
-- Fix query viste Utenti e permessi
|
||||
UPDATE `zz_modules` SET `options` = "SELECT
|
||||
|select|
|
||||
FROM
|
||||
`zz_groups`
|
||||
LEFT JOIN (SELECT `zz_users`.`idgruppo`, COUNT(`id`) AS num FROM `zz_users` GROUP BY `idgruppo`) AS utenti ON `zz_groups`.`id`=`utenti`.`idgruppo`
|
||||
WHERE
|
||||
1=1
|
||||
HAVING
|
||||
2=2
|
||||
ORDER BY
|
||||
`id`,
|
||||
`nome` ASC" WHERE `name` = 'Utenti e permessi';
|
Loading…
Reference in New Issue
Block a user