From 0444e338ec5a2502131352cb829cdceb7e64cabe Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Mon, 21 Jul 2025 09:15:40 +1000 Subject: [PATCH] indexes 4 the win --- front/deviceDetailsEdit.php | 6 +- front/network.php | 4 +- front/php/server/devices.php | 142 +++++++++++++++++------------------ server/database.py | 5 +- server/db/db_upgrade.py | 55 ++++++++++++++ 5 files changed, 133 insertions(+), 79 deletions(-) diff --git a/front/deviceDetailsEdit.php b/front/deviceDetailsEdit.php index a3ebf405..fb827894 100755 --- a/front/deviceDetailsEdit.php +++ b/front/deviceDetailsEdit.php @@ -63,7 +63,11 @@ // some race condition, need to implement delay setTimeout(() => { - $.get('php/server/query_json.php', { file: 'table_settings.json', nocache: Date.now() }, function(res) { + $.get('php/server/query_json.php', { + file: 'table_settings.json', + // nocache: Date.now() + }, + function(res) { settingsData = res["data"]; diff --git a/front/network.php b/front/network.php index fd2ab907..9cb2e4c5 100755 --- a/front/network.php +++ b/front/network.php @@ -1,8 +1,6 @@