Explorar el Código

Bug fix on an unexisting variable name

Roland Haroutiounian hace 8 años
padre
commit
c4df855e2f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      plugins/mongodb_datasource/datasource.py

+ 1
- 1
plugins/mongodb_datasource/datasource.py Ver fichero

@@ -157,7 +157,7 @@ class MongoDbDatasource(object):
157 157
             sorting_list.extends(query_result_ordering)
158 158
 
159 159
             pipeline.append({'$match': query_filters})
160
-            if results_field_list is not None:
160
+            if field_list is not None:
161 161
                 pipeline.append({
162 162
                     '$project': SON([{field_name: 1}
163 163
                     for field_name in field_list])})

Loading…
Cancelar
Guardar