dabo Commit
Revision 4863
Date: 2008-12-17 11:10:05 -0800 (Wed, 17 Dec 2008)
Author: Paul
Trac: http://trac.dabodev.com/dabo/changeset/4863
Changed:
U trunk/dabo/ui/uiwx/dGrid.py
Log:
r4855 used the wrong capitalization for the sortKeys. Fixed.
Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2008-12-17 19:05:52 UTC (rev 4862)
+++ trunk/dabo/ui/uiwx/dGrid.py 2008-12-17 19:10:05 UTC (rev 4863)
@@ -24,7 +24,7 @@
from dabo.dObject import dObject
from dabo.ui import makeDynamicProperty
import dabo.lib.dates
-from dabo.lib.utils import noneSortkey, caseInsensitiveSortkey
+from dabo.lib.utils import noneSortKey, caseInsensitiveSortKey
class dGridDataTable(wx.grid.PyGridTableBase):
@@ -2652,7 +2652,7 @@
sortKey = caseInsensitiveSortkey
elif dataType in ("date", "datetime"):
# can't compare NoneType to these types:
- sortKey = noneSortkey
+ sortKey = noneSortKey
sortList.sort(key=sortKey, reverse=(sortOrder
== "DESC"))
# Extract the rows into a new list, then set
the dataSet to the new 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]