From 9760ab7bc41d2e9420bb2b60dfdb03ab3cfdd6e4 Mon Sep 17 00:00:00 2001 From: Matteo Biscosi Date: Sun, 5 May 2024 05:04:07 -0400 Subject: [PATCH] Fixes flow table ordering (#8379) --- scripts/lua/rest/v2/get/flow/active_list.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lua/rest/v2/get/flow/active_list.lua b/scripts/lua/rest/v2/get/flow/active_list.lua index dac5e213df..1767c25730 100644 --- a/scripts/lua/rest/v2/get/flow/active_list.lua +++ b/scripts/lua/rest/v2/get/flow/active_list.lua @@ -67,9 +67,9 @@ if not isEmptyString(_GET["sort"]) then flows_filter.sortColumn = mapping_column_lua_c[_GET["sort"]] local order = _GET["order"] if order == "asc" then - flows_filter.a2zSortOrder = false - else flows_filter.a2zSortOrder = true + else + flows_filter.a2zSortOrder = false end end