diff --git a/scripts/pi-hole/js/groups-adlists.js b/scripts/pi-hole/js/groups-adlists.js index 94a2a57d..bd49f4b4 100644 --- a/scripts/pi-hole/js/groups-adlists.js +++ b/scripts/pi-hole/js/groups-adlists.js @@ -198,6 +198,8 @@ function initTable() { data.start = 0; // Always start with empty search field data.search.search = ""; + // Reset visibility of ID column + data.columns[0].visible = false; // Apply loaded state to table return data; } diff --git a/scripts/pi-hole/js/groups-clients.js b/scripts/pi-hole/js/groups-clients.js index 8c84bc78..a1722b21 100644 --- a/scripts/pi-hole/js/groups-clients.js +++ b/scripts/pi-hole/js/groups-clients.js @@ -206,6 +206,8 @@ function initTable() { data.start = 0; // Always start with empty search field data.search.search = ""; + // Reset visibility of ID column + data.columns[0].visible = false; // Apply loaded state to table return data; } diff --git a/scripts/pi-hole/js/groups-domains.js b/scripts/pi-hole/js/groups-domains.js index 12872597..403cfe43 100644 --- a/scripts/pi-hole/js/groups-domains.js +++ b/scripts/pi-hole/js/groups-domains.js @@ -215,6 +215,8 @@ function initTable() { data.start = 0; // Always start with empty search field data.search.search = ""; + // Reset visibility of ID column + data.columns[0].visible = false; // Apply loaded state to table return data; } diff --git a/scripts/pi-hole/js/groups.js b/scripts/pi-hole/js/groups.js index 16699fcd..7db4bbd9 100644 --- a/scripts/pi-hole/js/groups.js +++ b/scripts/pi-hole/js/groups.js @@ -156,6 +156,8 @@ $(document).ready(function() { data.start = 0; // Always start with empty search field data.search.search = ""; + // Reset visibility of ID column + data.columns[0].visible = false; // Apply loaded state to table return data; }