mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Bugfix : a folder with only on message was displayed as empty.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user