Skip to content

Commit

Permalink
DefaultPrinter: fix table column selection when column name contains …
Browse files Browse the repository at this point in the history
…'.'-char(s)
  • Loading branch information
mattirn committed Sep 24, 2021
1 parent 31229b0 commit 0670361
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ private void highlightAndPrint(Map<String, Object> options, Object obj) {
List<String> refKeys = new ArrayList<>();
for (String v : _header) {
String value = v.split("\\.")[0];
if (!keys.contains(value)) {
if (!keys.contains(value) && !keys.contains(v)) {
continue;
}
boolean addKey = false;
Expand Down

0 comments on commit 0670361

Please sign in to comment.