From a215a2ba69e247e614fa4cffda46ced4e51706bb Mon Sep 17 00:00:00 2001 From: jlaine Date: Mon, 31 May 2010 18:54:36 +0000 Subject: [PATCH] fix get_count() git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@906 e071eeec-0327-468d-9b6a-08194a12b294 --- ldapdb/models/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldapdb/models/query.py b/ldapdb/models/query.py index f433956..5b7e6af 100644 --- a/ldapdb/models/query.py +++ b/ldapdb/models/query.py @@ -194,7 +194,7 @@ class Query(BaseQuery): filterstr = '(&%s)' % filterstr try: - vals = self.connection.search_s( + vals = ldapdb.connection.search_s( self.model.base_dn, ldap.SCOPE_SUBTREE, filterstr=filterstr, -- 2.30.2