Merge branch 'develop' into 3377-recursive-power-calc

This commit is contained in:
hSaria 2020-01-14 13:57:21 +00:00 committed by GitHub
commit 80338f4fca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@
* [#3377](https://github.com/netbox-community/netbox/issues/3377) - Include children devices when calculating power utilization
## Bug Fixes
* [#3914](https://github.com/netbox-community/netbox/issues/3914) - Fix interface filter field when unauthenticated
---
# v2.6.12 (2020-01-13)

View File

@ -15,7 +15,7 @@ $('button.toggle-ips').click(function() {
$('input.interface-filter').on('input', function() {
var filter = new RegExp(this.value);
for (interface of $(this).closest('form').find('tbody > tr')) {
for (interface of $(this).closest('div.panel').find('tbody > tr')) {
// Slice off 'interface_' at the start of the ID
if (filter && filter.test(interface.id.slice(10))) {
// Match the toggle in case the filter now matches the interface