Skip to content

Commit e536f36

Browse files
Merge pull request #3915 from hSaria/3914-interface-filter-no-user
Fixes #3914: Interface filter field when unauthenticated
2 parents 7b8e82f + 9d0da0f commit e536f36

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/release-notes/version-2.6.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# v2.6.13 (FUTURE)
2+
3+
## Bug Fixes
4+
5+
* [#3914](https://github.com/netbox-community/netbox/issues/3914) - Fix interface filter field when unauthenticated
6+
7+
---
8+
19
# v2.6.12 (2020-01-13)
210

311
## Enhancements

netbox/project-static/js/interface_toggles.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $('button.toggle-ips').click(function() {
1515
$('input.interface-filter').on('input', function() {
1616
var filter = new RegExp(this.value);
1717

18-
for (interface of $(this).closest('form').find('tbody > tr')) {
18+
for (interface of $(this).closest('div.panel').find('tbody > tr')) {
1919
// Slice off 'interface_' at the start of the ID
2020
if (filter && filter.test(interface.id.slice(10))) {
2121
// Match the toggle in case the filter now matches the interface

0 commit comments

Comments
 (0)