Commit 72d0ea87 authored by Andrey Vertiprahov's avatar Andrey Vertiprahov
Browse files

Merge branch 'noc-1299' into 'master'

#1299 Hide hidden custom fields from ipam view

See merge request !3626
parents aeb76260 5fa75fcd
Pipeline #23172 passed with stages
in 36 minutes and 34 seconds
......@@ -194,6 +194,8 @@ class IPAMApplication(ExtApplication):
#
# Add custom fields
for f in CustomField.table_fields("ip_prefix"):
if f.is_hidden:
continue
v = getattr(prefix, f.name)
prefix_info += [(f.label, v if v is not None else "")]
# Ranges
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment