Procházet zdrojové kódy

HUE-5801 [assist] Fix search autocompletion of partial facets when selecting something other than a facet

Johan Ahlen před 8 roky
rodič
revize
d170d96935

+ 1 - 1
desktop/core/src/desktop/templates/assist_search.mako

@@ -351,7 +351,7 @@ from notebook.conf import ENABLE_QUERY_BUILDER
               }
               if (typeof data.results !== 'undefined') {
                 data.results.forEach(function (result) {
-                  values.push({ data: { label: result.hue_name, icon: NAV_TYPE_ICONS[result.type],  description: result.hue_description }, value: beforePartial + result.originalName });
+                  values.push({ data: { label: result.hue_name, icon: NAV_TYPE_ICONS[result.type],  description: result.hue_description }, value: result.originalName });
                 });
               }