add invert port search option, fix wildcarding on partial

This commit is contained in:
Oliver Gorwits
2013-09-22 16:40:10 +01:00
parent 230c6e3c0c
commit 108e1b5201
4 changed files with 41 additions and 6 deletions

View File

@@ -93,7 +93,9 @@
// form reset icon on ports tab
$('#nd_sidebar-reset-link').attr('href', '/device?tab=ports&reset=on&' +
$('#ports_form').find('input[name="q"],input[name="f"],input[name="partial"]').serialize())
$('#ports_form')
.find('input[name="q"],input[name="f"],input[name="partial"],input[name="invert"]')
.serialize())
[% END %]
do_search(event, '[% tab.tag %]');