Explorar o código

HUE-2618 [hive] Recent query results show character encoding in view

Reverted htmlEncode function on the recent items
Enrico Berti %!s(int64=11) %!d(string=hai) anos
pai
achega
6912f626f5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/beeswax/src/beeswax/templates/execute.mako

+ 1 - 1
apps/beeswax/src/beeswax/templates/execute.mako

@@ -1098,7 +1098,7 @@ $(document).ready(function () {
         $(data.queries).each(function(cnt, item){
           _rows.push([
             '<span data-sort-value="' + item.timeInMs + '">' + moment(item.timeInMs*1000).format("L LTS") + '</span>',
-            '<code style="cursor:pointer">' + hue.htmlEncode(item.query) + '</code>',
+            '<code style="cursor:pointer">' + item.query + '</code>',
             (item.resultsUrl != "" ? '<a href="' + item.resultsUrl + '" data-row-selector-exclude="true">${_('See results...')}</a>': ''),
             (item.designUrl != "" ? '<a href="' + item.designUrl + '" data-row-selector="true">&nbsp;</a>': '')
           ]);