Skip to content

Commit

Permalink
Remove traling comma & invalid syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Jul 25, 2019
1 parent cfc3c03 commit 326c436
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,11 @@
for (var i = 0; i < facetPath.length; i++) {
if ((i + 1) % 2 === 0) continue;
var key = facetPath[i];
aggregations.aggregations = {
[key]: {
terms: {
field: key,
aggregations.aggregations = {};
aggregations.aggregations[key] = {
terms: {
field: key,
size: newSize
}
}
};
aggregations = aggregations.aggregations[key];
Expand Down
2 changes: 1 addition & 1 deletion web-ui/src/main/resources/catalog/js/CatController.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ goog.require('gn_alert');
'aggs': {
'format': {
'terms': {
'field': 'format',
'field': 'format'
}
}
}
Expand Down

0 comments on commit 326c436

Please sign in to comment.