changeset 2687:daf1dbbf507c

Fixed traceback which comes on accessing +admin/itemsize due to tickets- shown fqname instead of name
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Fri, 01 Aug 2014 18:00:52 +0530
parents 5cfec4b90170
children d1872000dcdc
files MoinMoin/apps/admin/views.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/admin/views.py	Fri Aug 01 17:58:58 2014 +0530
+++ b/MoinMoin/apps/admin/views.py	Fri Aug 01 18:00:52 2014 +0530
@@ -227,7 +227,7 @@
         _('Size'),
         _('Item name'),
     ]
-    rows = [(rev.meta[SIZE], rev.name)
+    rows = [(rev.meta[SIZE], rev.fqname)
             for rev in flaskg.storage.documents(wikiname=app.cfg.interwikiname)]
     rows = sorted(rows, reverse=True)
     return render_template('user/itemsize.html',