From d02d7c85649590decdb863720a7117461dcdbea6 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 27 Oct 2018 15:35:44 +0300 Subject: [PATCH] minor tweak... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/sort.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/features/sort.js b/ui (gen4)/features/sort.js index 19513e18..09c628f3 100755 --- a/ui (gen4)/features/sort.js +++ b/ui (gen4)/features/sort.js @@ -741,7 +741,8 @@ var SortUIActions = actions.Actions({ 'Sort order:\n ' +data .map(function(m){ - return that.expandSortMethod(m) ? + var e = that.expandSortMethod(m) + return (e instanceof Array || typeof(e) == typeof('str')) ? `${m}` : m }) .join('\n '))))