diff --git a/src/main/java/com/andrewlalis/perfin/control/TransactionsViewController.java b/src/main/java/com/andrewlalis/perfin/control/TransactionsViewController.java index dc8e2be..0ba412f 100644 --- a/src/main/java/com/andrewlalis/perfin/control/TransactionsViewController.java +++ b/src/main/java/com/andrewlalis/perfin/control/TransactionsViewController.java @@ -138,6 +138,7 @@ public class TransactionsViewController implements RouteSelectionListener { // If a transaction id is given in the route context, navigate to the page it's on and select it. if (context instanceof RouteContext ctx && ctx.selectedTransactionId != null) { + searchField.setText(null);// First clear the search field if it's already populated. Profile.getCurrent().dataSource().useRepoAsync( TransactionRepository.class, repo -> repo.findById(ctx.selectedTransactionId).ifPresent(tx -> {