Bugfix : a folder with only on message was displayed as empty.

This commit is contained in:
tonio
2010-04-30 17:03:33 +02:00
parent 379efaacf6
commit bffe955700
+1 -1
View File
@@ -69,7 +69,7 @@ class Paginator(object):
return None
id_start, id_stop = self._indexes(page - 1)
has_previous = has_next = False
if id_start < self.total:
if id_start <= self.total:
if page > 1:
has_previous = True
if id_stop < self.total: