luci-app-nlbwmon: the default CSV delimiter should be a comma
authorAmeer Dawood <ameer1234567890@gmail.com>
Tue, 24 Jul 2018 14:06:38 +0000 (19:06 +0500)
committerJo-Philipp Wich <jo@mein.io>
Sat, 29 Sep 2018 13:01:57 +0000 (15:01 +0200)
Suggested-by: Ameer Dawood <ameer1234567890@gmail.com>
[slightly reword commit subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-nlbwmon/luasrc/controller/nlbw.lua

index 72e87e8f90579f2e028caf15edbde56fe73be495..d50b77d0f40894cfe53fafad86716d6e187eca9f 100644 (file)
@@ -61,7 +61,7 @@ function action_data()
 
        local args = { }
        local mtype = http.formvalue("type") or "json"
-       local delim = http.formvalue("delim") or ";"
+       local delim = http.formvalue("delim") or ","
        local period = http.formvalue("period")
        local group_by = http.formvalue("group_by")
        local order_by = http.formvalue("order_by")