Source

WebHelpers / webhelpers / paginate.py

Diff from to

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: