Browse Source

Fixed a dict name in mongodb datasource (prepare_relational_filters method)

Roland Haroutiounian 8 years ago
parent
commit
e7f137d46e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      plugins/mongodb_datasource/datasource.py

+ 1
- 1
plugins/mongodb_datasource/datasource.py View File

@@ -430,7 +430,7 @@ class MongoDbDatasource(object):
430 430
                 #here we are filling a dict with leobject as index but
431 431
                 #we are doing a UNIQ on collection name
432 432
                 cur_collname = object_collection_name(leobject)
433
-                if cur_collname not in collnames:
433
+                if cur_collname not in leo_collname:
434 434
                     leo_collname[cur_collname] = leobject
435 435
                     rfilters[fname][leobject] = dict()
436 436
                 #Fecthing the collection's representative leobject

Loading…
Cancel
Save