From e3a0f25db03abc93276952d47f15f40a0f730468 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 22 Aug 2014 14:11:23 +0200 Subject: [PATCH] Patch for an Issue #795 --- lib/core/dump.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/core/dump.py b/lib/core/dump.py index b054c93df..ba3123ba9 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -399,6 +399,10 @@ class Dump(object): columns = prioritySortColumns(tableValues.keys()) + if conf.col: + cols = conf.col.split(',') + columns = sorted(columns, key=lambda _: cols.index(_) if _ in cols else 0) + for column in columns: if column != "__infos__": info = tableValues[column]