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:18 +0000 (23:46 +0200)
commit9adda4ae40c89be2c83c3b75b865e047acce13a3
tree05bea500f5fbf91ab2fd2eeb8ec63ffd6852a5c2
parent27fb6e5299fb7b04d0aca54308bf9062844d652a
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