Add correct IP sorting for the Custom DNS table

Signed-off-by: Rick van Hattem <Wolph@wol.ph>
This commit is contained in:
Rick van Hattem
2020-03-29 23:33:47 +02:00
committed by Rick van Hattem
parent 8a4eb31886
commit 0c29a09a45
2 changed files with 2 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ $(document).ready(function() {
table = $("#customDNSTable").DataTable({
ajax: "scripts/pi-hole/php/customdns.php?action=get",
columns: [{}, {}, { orderable: false, searchable: false }],
columns: [{}, { type: "ip-address" }, { orderable: false, searchable: false }],
columnDefs: [
{
targets: 2,