Skip to content

Commit

Permalink
Merge pull request #3041 from rbayet/feat_indices_list_detail_minor_e…
Browse files Browse the repository at this point in the history
…nhancements

Feat indices list detail minor enhancements
  • Loading branch information
rbayet authored Sep 4, 2023
2 parents 840f444 + 7a71d14 commit f82f369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public function getElasticSuiteIndices($params = []): array
$this->elasticsuiteIndices[$name] = $aliases ? key($aliases['aliases']) : null;
}
}
ksort($this->elasticsuiteIndices, SORT_STRING | SORT_NATURAL);
}

return $this->elasticsuiteIndices;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="admin__table-wrapper">
<table class="data-table admin__table-primary">
<?php $items = $block->getItemsCollection(); ?>
<input type="hidden" id="json-input" autocomplete="off" value="<?php echo $block->escapeHtml(json_encode($items->getItems())); ?>"</input>
<input type="hidden" id="json-input" autocomplete="off" value="<?php echo $block->escapeHtml(json_encode($items->getItems() ?? [])); ?>"</input>
<pre id="json-renderer" class="json-document"></pre>
</table>
</div>
Expand Down

0 comments on commit f82f369

Please sign in to comment.