Link to VLAN search by name from VLAN Inventory report

This commit is contained in:
Eric A. Miller
2014-06-02 23:22:48 -04:00
parent 4f7a2097fc
commit fb65ae30f0
2 changed files with 2 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ $(document).ready(function() {
}, {
"data": 'description',
"render": function(data, type, row, meta) {
return he.encode(data || '');
return '<a href="[% uri_for('/search') %]?tab=vlan&q=' + encodeURIComponent(data) + '">' + he.encode(data || '') + '</a>';
}
}, {
"data": 'dcount',