changeset 521:64d08878782b

macro.DictColumns: simplified get_names (keeping order of names)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Mon, 12 Apr 2010 13:00:10 +0200
parents a21974d68624
children fe7e720bd778
files data/plugin/macro/DictColumns.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/DictColumns.py	Sun Apr 11 16:11:39 2010 +0200
+++ b/data/plugin/macro/DictColumns.py	Mon Apr 12 13:00:10 2010 +0200
@@ -139,7 +139,7 @@
         request = self.request
         # use selection and order
         if self.names:
-            names = self.names
+            return self.names
         # use keys from template page, no order
         elif Page(request, self.template_page).exists():
             page_dict = self.get_dict(self.template_page)