فهرست منبع

HUE-6003 [assist] Append instead of replace when selecting a value from search autocomplete

Johan Ahlen 8 سال پیش
والد
کامیت
91c7a0f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      desktop/core/src/desktop/templates/assist_search.mako

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

@@ -373,7 +373,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: result.originalName });
+                  values.push({ data: { label: result.hue_name, icon: NAV_TYPE_ICONS[result.type],  description: result.hue_description }, value: beforePartial + result.originalName });
                 });
               }