mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Excluded PENed templates from select
This commit is contained in:
parent
890cfe68aa
commit
194c6d6a9a
@ -1042,9 +1042,12 @@ class HostDevices extends Wizard
|
|||||||
'arguments' => [
|
'arguments' => [
|
||||||
'name' => 'id_network_profile[]',
|
'name' => 'id_network_profile[]',
|
||||||
'type' => 'select_from_sql',
|
'type' => 'select_from_sql',
|
||||||
'sql' => 'SELECT id_np, name
|
'sql' => 'SELECT tn.id_np, tn.name
|
||||||
FROM tnetwork_profile
|
FROM tnetwork_profile tn
|
||||||
ORDER BY name',
|
LEFT JOIN `tnetwork_profile_pen` tp
|
||||||
|
ON tp.id_np = tn.id_np
|
||||||
|
WHERE tp.id_np IS NULL
|
||||||
|
ORDER BY tn.name',
|
||||||
'return' => true,
|
'return' => true,
|
||||||
'selected' => explode(
|
'selected' => explode(
|
||||||
',',
|
',',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user