[dashboard] Hide sorting icon of hit widgets
@@ -604,7 +604,7 @@ ${ dashboard.layout_skeleton(suffix='search') }
<div class="badge dimensions-badge-container" data-bind="css: { 'is-editing': isEditing }">
<span data-bind="text: getPrettyMetric($data)"></span>
<span class="badge badge-info dimensions-badge" data-bind="text: field, attr: {'title': field}"></span>
- <!-- ko if: aggregate.function() != 'field' && aggregate.metrics -->
+ <!-- ko if: aggregate.function() != 'field' && aggregate.metrics && $parent.widgetType() != 'hit-widget' -->
<i class="fa" data-bind="css: { 'fa-long-arrow-down': sort() == 'desc', 'fa-long-arrow-up': sort() == 'asc' }"></i>
<!-- /ko -->
<div class="action-icon margin-left-5" data-bind="click: function(){ $parent.isAdding(false); $parent.properties.facets().forEach(function(f){ f.isEditing(false); }); isEditing(true); }"><i class="fa fa-pencil"></i></div>
