Browse Source

HUE-7849 [search] Fix slecting one value in graph of one dimension

Romain Rigaux 8 years ago
parent
commit
4ded863
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/libs/dashboard/src/dashboard/models.py

+ 1 - 1
desktop/libs/dashboard/src/dashboard/models.py

@@ -615,7 +615,7 @@ def augment_solr_response(response, collection, query):
             column = agg_keys[0]
           else:
             agg_keys = [column]
-          legend = facet['field']
+          legend = collection_facet['properties']['facets'][0]['field']
 
           _augment_stats_2d(name, facet, counts, selected_values, agg_keys, rows)