changeset 1458:3d41f9a5e794

somehow xapian.www.de behaves strange, another fix for current page revisions
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Tue, 22 Aug 2006 21:34:07 +0200
parents 80fd46bb05eb
children 49c65ec25f57
files MoinMoin/search/results.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/results.py	Tue Aug 22 21:31:35 2006 +0200
+++ b/MoinMoin/search/results.py	Tue Aug 22 21:34:07 2006 +0200
@@ -742,7 +742,7 @@
             f.paragraph(1, attr={'class': 'searchhitinfobar'}),
             f.text('%.1fk - ' % (page.page.size()/1024.0)),
             f.text('rev: %d %s- ' % (rev,
-                page.page.rev and page.page.rev == page.page.getRevList()[0] and 
+                page.page.rev and rev == page.page.getRevList()[0] and 
                 '(%s) ' % _('current') or '')),
             f.text('last modified: %(time)s' % page.page.lastEditInfo()),
             # XXX: proper metadata