web/component.py
changeset 4089 ff92c7d692bf
parent 3890 d7a270f50f54
child 4252 6c4f109c2b03
--- a/web/component.py	Wed Dec 09 17:10:01 2009 +0100
+++ b/web/component.py	Wed Dec 09 17:48:04 2009 +0100
@@ -104,7 +104,7 @@
             start = int(self._cw.form[self.start_param])
         except KeyError:
             start, stop = 0, self.page_size
-        if start >= len(self.rset):
+        if start >= len(self.cw_rset):
             start, stop = 0, self.page_size
         self.starting_from = start
         return start, stop