rset.py
changeset 4150 2835482b8daf
parent 4023 eae23c40627a
child 4252 6c4f109c2b03
--- a/rset.py	Mon Dec 21 18:27:29 2009 +0100
+++ b/rset.py	Mon Dec 21 18:42:53 2009 +0100
@@ -326,8 +326,8 @@
             # which get a wrong rset reference by this limit call
             for entity in self.req.cached_entities():
                 if entity.cw_rset is self:
-                    if offset <= entity.row < stop:
-                        entity.row = entity.row - offset
+                    if offset <= entity.cw_row < stop:
+                        entity.cw_row = entity.cw_row - offset
                     else:
                         self.req.drop_entity_cache(entity.eid)
         else: