Browse Source

Bug Fix wrong variable name in __process_filters method in the mongodb datasource

Roland Haroutiounian 8 years ago
parent
commit
53bf344d40
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

@@ -359,7 +359,7 @@ class MongoDbDatasource(object):
359 359
             if '$in' in res[fname]:
360 360
                 #WARNING we allready have a IN on this field, doing dedup
361 361
                 #from result
362
-                deduped = set(res[fname]['$in']) & subq
362
+                deduped = set(res[fname]['$in']) & subq_results
363 363
                 if len(deduped) == 0:
364 364
                     del(res[fname]['$in'])
365 365
                 else:

Loading…
Cancel
Save