projects
/
matthijs
/
upstream
/
django-ldapdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
case insensitive sorting
[matthijs/upstream/django-ldapdb.git]
/
ldapdb
/
models
/
query.py
diff --git
a/ldapdb/models/query.py
b/ldapdb/models/query.py
index def325f90ce29281f11d929f9914611bcce9b934..367cd2cec1eadae0cdecc06d241f5f27bf0ed860 100644
(file)
--- a/
ldapdb/models/query.py
+++ b/
ldapdb/models/query.py
@@
-88,7
+88,7
@@
class Query(BaseQuery):
keys = []
for k in ordering:
attr = self.model._meta.get_field(k).db_column
- keys.append(x[1].get(attr, None))
+ keys.append(x[1].get(attr, None)
.lower()
)
return keys
vals = sorted(vals, key=lambda x: getkey(x))