dabo Commit
Revision 4512
Date: 2008-09-08 14:37:23 -0700 (Mon, 08 Sep 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4512

Changed:
U   trunk/dabo/biz/dBizobj.py

Log:
Removed the setting of UserSQL when setSql() called without arguments. Removed
setting the SQL property, and instead set UserSQL directly.



Diff:
Modified: trunk/dabo/biz/dBizobj.py
===================================================================
--- trunk/dabo/biz/dBizobj.py   2008-09-08 19:33:02 UTC (rev 4511)
+++ trunk/dabo/biz/dBizobj.py   2008-09-08 21:37:23 UTC (rev 4512)
@@ -67,7 +67,6 @@
                self._nonUpdateFields = []
                self._scanRestorePosition = True
                self._scanReverse = False
-               self._SQL = ""
                self._userSQL = None
                self._requeryOnLoad = False
                self._parent  = None
@@ -782,11 +781,9 @@
                        # sql not passed; get it from the sql mixin:
                        # Set the appropriate child filter on the link field
                        self.setChildLinkFilter()
-
-                       self.SQL = self.getSQL()
                else:
                        # sql passed; set it explicitly
-                       self.SQL = sql
+                       self.UserSQL = sql
 
 
        def requery(self):




_______________________________________________
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]

Reply via email to