dabo Commit
Revision 6284
Date: 2010-12-25 00:25:10 -0800 (Sat, 25 Dec 2010)
Author: Jacekk
Trac: http://trac.dabodev.com/changeset/6284
Changed:
U trunk/dabo/biz/dBizobj.py
Log:
Supplemental fix to the last commit to fix RequeryOnLoad issue.
Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py 2010-12-25 01:31:47 UTC (rev 6283)
+++ trunk/dabo/biz/dBizobj.py 2010-12-25 08:25:10 UTC (rev 6284)
@@ -112,9 +112,10 @@
def _afterInit(self):
super(dBizobj, self)._afterInit()
+ params = self.setChildLinkFilter() + self.getParams()
for crs in self.__cursorsToRequery:
self._syncCursorProps(crs)
- crs.requery()
+ crs.requery(params)
self.__cursorsToRequery = None
@@ -217,7 +218,7 @@
if self.RequeryOnLoad:
if self.__cursorsToRequery is None:
# We've already passed the bizobj init process
- crs.requery()
+ crs.requery(self.setChildLinkFilter() +
self.getParams())
self.first()
else:
# Still in the init, so add it to the list
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]