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:03 +0000 (23:46 +0200)
commit603992560c5ca4b5929047e8e8c70f901f75d7f7
treeefb3b46a14ccfba8887fd4010219fcb9fcf8ec59
parentee6a4da00b70949eccb5a0a7b69d2c5b98ef1f89
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>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js