Skip to content

Release v2.11.12 #7018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Aug 23, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
ffae2c5
Fixes #6632
Jul 22, 2021
1b12185
PRVB
jeremystretch Aug 12, 2021
fce4195
Closes #6748: Add site group filter to devices list
jeremystretch Aug 13, 2021
3feba29
Closes #6872: Add table configuration button to child prefixes view
jeremystretch Aug 13, 2021
5a8cedd
Add hardwired PowerOutlet
bluikko Aug 16, 2021
5b89cdc
Fixes #5968: Model forms should save empty custom field values as null
jeremystretch Aug 16, 2021
9b0258f
Fixes #6686: Force assignment of null custom field values to objects
jeremystretch Aug 16, 2021
10847e2
Optimize addition/removal of default custom field values
jeremystretch Aug 16, 2021
9baebfa
Merge pull request #6790 from WillIrvine/issue-6632
jeremystretch Aug 20, 2021
d850aa0
Changelog for #6790
jeremystretch Aug 20, 2021
53a5bc2
Fixes #6929: Introduce LOGIN_PERSISTENCE configuration parameter to p…
jeremystretch Aug 20, 2021
1fc3c6d
Fixes #6974: Show contextual label for IP address role
jeremystretch Aug 20, 2021
8131fea
Closes #7011: Add search field to VM interfaces filter form
jeremystretch Aug 23, 2021
cfa4f56
Fixes #7012: Fix hidden "add components" dropdown on devices list
jeremystretch Aug 23, 2021
aef8c5f
Merge pull request #6965 from bluikko/poweroutlet-hardwired
jeremystretch Aug 23, 2021
75c62ff
Print request index after webhook data dump
jeremystretch Aug 23, 2021
0b0ab92
Fixes #6776: Fix erroneous webhook dispatch on failure to save objects
jeremystretch Aug 23, 2021
8497965
Fixes #6326: Enable filtering assigned VLANs by group in interface ed…
jeremystretch Aug 23, 2021
6518d87
Release v2.11.12
jeremystretch Aug 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Closes #6748: Add site group filter to devices list
  • Loading branch information
jeremystretch committed Aug 13, 2021
commit fce419526daf5c975794e43d7b042bcae00aea9b
8 changes: 8 additions & 0 deletions docs/release-notes/version-2.11.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# NetBox v2.11

## v2.11.12 (FUTURE)

### Enhancements

* [#6748](https://github.com/netbox-community/netbox/issues/6748) - Add site group filter to devices list

---

## v2.11.11 (2021-08-12)

### Enhancements
Expand Down
12 changes: 9 additions & 3 deletions netbox/dcim/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2421,8 +2421,8 @@ class Meta:
class DeviceFilterForm(BootstrapMixin, LocalConfigContextFilterForm, TenancyFilterForm, CustomFieldFilterForm):
model = Device
field_order = [
'q', 'region_id', 'site_id', 'location_id', 'rack_id', 'status', 'role_id', 'tenant_group_id', 'tenant_id',
'manufacturer_id', 'device_type_id', 'asset_tag', 'mac_address', 'has_primary_ip',
'q', 'region_id', 'site_group_id', 'site_id', 'location_id', 'rack_id', 'status', 'role_id', 'tenant_group_id',
'tenant_id', 'manufacturer_id', 'device_type_id', 'asset_tag', 'mac_address', 'has_primary_ip',
]
q = forms.CharField(
required=False,
Expand All @@ -2433,11 +2433,17 @@ class DeviceFilterForm(BootstrapMixin, LocalConfigContextFilterForm, TenancyFilt
required=False,
label=_('Region')
)
site_group_id = DynamicModelMultipleChoiceField(
queryset=SiteGroup.objects.all(),
required=False,
label=_('Site group')
)
site_id = DynamicModelMultipleChoiceField(
queryset=Site.objects.all(),
required=False,
query_params={
'region_id': '$region_id'
'region_id': '$region_id',
'group_id': '$site_group_id',
},
label=_('Site')
)
Expand Down