Commits

Anonymous committed b82b9f9

Bugfix in paginate collection indexing.

  • Participants
  • Parent commits 3c3be05
  • Tags 1.3b1

Comments (0)

Files changed (1)

File webhelpers/paginate.py

             if presliced_list:
                 self.items = self.collection
             else:
-                self.items = list(self.collection[self.first_item-1:self.last_item])
+                self.items = list(self.collection)[self.first_item-1:self.last_item]
 
             # Links to previous and next page
             if self.page > self.first_page: