Skip to content

Commit

Permalink
Pass defaultKeyFormat to setKeyFormat rather than defaultFormat (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bert-R committed Jul 9, 2024
1 parent 3701396 commit 4b57444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/kafdrop/controller/MessageController.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public String searchMessageForm(@PathVariable("name") String topicName,

defaultForm.setSearchText("");
defaultForm.setFormat(defaultFormat);
defaultForm.setKeyFormat(defaultFormat);
defaultForm.setKeyFormat(defaultKeyFormat);
defaultForm.setMaximumCount(100);
defaultForm.setStartTimestamp(new Date(0));
model.addAttribute("searchMessageForm", defaultForm);
Expand Down

0 comments on commit 4b57444

Please sign in to comment.