Skip to content
Snippets Groups Projects
Commit d26b162e authored by Robert Latta's avatar Robert Latta
Browse files

Excluded service results where equipment is missing

parent 07cc5ad9
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,10 @@ retrieve_services_query = """SELECT *
AND pp_b.port = cc.port_b
WHERE c.status != 'terminated' AND is_circuit = 1)
AS inner_query
WHERE circuit_type IN ('path', 'service', 'l2circuit')
WHERE
equipment IS NOT NULL
AND equipment != ''
AND circuit_type IN ('path', 'service', 'l2circuit')
ORDER BY
name,
FIELD(status,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment