luci-app-opkg: populate alternative package size if needed
authorJo-Philipp Wich <jo@mein.io>
Mon, 27 May 2024 12:09:53 +0000 (14:09 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 27 May 2024 12:10:50 +0000 (14:10 +0200)
commit2d2e5c0689b3483b22d033af1da9d33afeedf33e
tree4468e58a1d46dd1af5d5fddfcf9553eb9888caa9
parentfcc4cc942adfb4a6019d04ca0e6b446a4cd6416f
luci-app-opkg: populate alternative package size if needed

Populate the raw size value with the alternative size if the package
size is unavailable.

Fixes: #7139
Fixes: 63e5d38db0 ("luci-app-opkg: fix sorting by size column")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js