[Neo-report] r1867 gregory - /trunk/neo/client/app.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 26 14:04:27 CET 2010
Author: gregory
Date: Fri Feb 26 14:04:27 2010
New Revision: 1867
Log:
Bug fix: Preserve initial parameters in recursive calls.
The __undoLog() method is used by undoLog() and transactionLog() with
different parameters. When a recursive call is made, keep initial arguments
instead of always call as if it was undoLog().
Modified:
trunk/neo/client/app.py
Modified: trunk/neo/client/app.py
==============================================================================
--- trunk/neo/client/app.py [iso-8859-1] (original)
+++ trunk/neo/client/app.py [iso-8859-1] Fri Feb 26 14:04:27 2010
@@ -896,8 +896,8 @@
# Check we return at least one element, otherwise call
# again but extend offset
if len(undo_info) == 0 and not block:
- undo_info = self.undoLog(first=first, last=last*5, filter=filter,
- block=1)
+ undo_info = self.__undoLog(first=first, last=last*5, filter=filter,
+ block=1, with_oids=with_oids)
return undo_info
def undoLog(self, first, last, filter=None, block=0):
More information about the Neo-report
mailing list