luci-mod-status: persist sorting of DHCP lease status tables
authorJo-Philipp Wich <jo@mein.io>
Thu, 19 Oct 2023 21:44:53 +0000 (23:44 +0200)
committerJo-Philipp Wich <jo@mein.io>
Thu, 19 Oct 2023 21:46:32 +0000 (23:46 +0200)
commit20daafca6be431029d58fe97a3e1392129bb3b6b
treea6e92560c9109a942a1fff1eee63097330e2ade2
parent9f666741b218d9032f7ea723ba50a02b66d38898
luci-mod-status: persist sorting of DHCP lease status tables

Add an ID attribute to the dynamically generated lease status tables to
persist row ordering choice across reloads.

Fixes: #6640
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 603992560c5ca4b5929047e8e8c70f901f75d7f7)
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js