Skip to content

Commit

Permalink
issue 15: Formatting of date histogram values in query screen
Browse files Browse the repository at this point in the history
  • Loading branch information
jettro committed Jan 19, 2014
1 parent bef95c8 commit 94a1e74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion partials/query.html
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ <h3 class="panel-title">Facet results</h3>
</div>
<div ng-show="value._type === 'date_histogram'">
<div>
<span ng-repeat="entry in value.entries"> {{entry.time}} ({{entry.count}})</span>
<span ng-repeat="entry in value.entries"> {{entry.time | date:'medium'}} ({{entry.count}})</span>
</div>
</div>
<div ng-show="value._type === 'histogram'">
Expand Down
1 change: 0 additions & 1 deletion partials/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ <h3>Results</h3>
class="glyphicon glyphicon-remove"></span></button>
<button ng-hide="checkSelectedFacet(key,entry.time)" class="btn btn-mini btn-link"
ng-click="addFilter(key,entry.time)">{{entry.time | date:'medium'}} ({{entry.count}})</span>
<!-- <span>{{entry.time | date:'medium'}} ({{entry.count}})</span> -->
</div>
</div>
<div ng-show="value._type === 'histogram'">
Expand Down

0 comments on commit 94a1e74

Please sign in to comment.