瀏覽代碼

HUE-8667 [autocomplete] Fix issue where order by and group by suggestions aren't displayed properly

Johan Ahlen 7 年之前
父節點
當前提交
07a0919
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/core/src/desktop/static/desktop/js/sqlAutocompleter3.js

+ 1 - 1
desktop/core/src/desktop/static/desktop/js/sqlAutocompleter3.js

@@ -1252,7 +1252,7 @@ var AutocompleteResults = (function () {
               category: navOptAttribute === 'groupByColumn' ? CATEGORIES.POPULAR_GROUP_BY : CATEGORIES.POPULAR_ORDER_BY,
               weightAdjust:  Math.round(100 * entry.navOptPopularity[navOptAttribute].columnCount / totalColumnCount),
               popular: ko.observable(true),
-              hasCatalogEntry: true,
+              hasCatalogEntry: false,
               details: entry
             });
           });