Closed GoogleCodeExporter closed 9 years ago
patch style:
diff -urN -x '*.yaml' -x '*.bat' -x '*.pyc' gaewiki.orig/gaewiki/model.py
gaewiki/gaewiki/model.py
--- gaewiki.orig/gaewiki/model.py 2011-08-05 01:20:06 +0900
+++ gaewiki/gaewiki/model.py 2011-11-30 23:21:50 +0900
@@ -299,7 +305,7 @@
if settings.get('open-reading') == 'yes':
pages = cls.all().order('-updated').fetch(20)
else:
- pages = cls.gql('WHERE pread = :1 ORDER BY -updated',
True).fetch(20)
+ pages = cls.gql('WHERE pread = :1 ORDER BY updated DESC',
True).fetch(20)
return pages
@classmethod
Original comment by h.rayflood
on 30 Nov 2011 at 2:52
This issue was closed by revision dfabb4481ccd.
Original comment by justin.forest
on 30 Nov 2011 at 3:45
Thank you.
Original comment by justin.forest
on 30 Nov 2011 at 3:45
Original issue reported on code.google.com by
h.rayflood
on 20 Oct 2011 at 9:29