浏览代码

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

Johan Ahlen 8 年之前
父节点
当前提交
d170d96935
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/templates/assist_search.mako

+ 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 });
                 });
               }