Skip to content

Commit

Permalink
search only over ip column in top ip list
Browse files Browse the repository at this point in the history
  • Loading branch information
matyaskopp committed Nov 30, 2021
1 parent 27a64c4 commit e84ba40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/views/ips.pug
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ block content
[ {
"targets": 0,
"data": null,
"type": 'html',
"searchable": true,
"render": function ( data, type, row, meta ) {return '<a class="clr-bg-add btn-floating btn-small" href="admin/add-endpoint?ip='+data[0]+'" title="create endpoint from IP address"><i class="material-icons tiny">settings_input_component</i></a> <a class="clr-fg-link" href="admin/ip/'+data[0]+'">'+data[0]+'</a>';}
},
{
"targets": '_all',
"searchable": false
}
]

0 comments on commit e84ba40

Please sign in to comment.