From 89c15cbe3e685e908a6cead705bb73ea625577bf Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sat, 15 Aug 2020 20:19:34 +0200 Subject: [PATCH] Refresh filters to search a transaction when a source or a destination is selected --- apps/note/templates/note/search_transactions.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/note/templates/note/search_transactions.html b/apps/note/templates/note/search_transactions.html index 2504d5fe..89e571b0 100644 --- a/apps/note/templates/note/search_transactions.html +++ b/apps/note/templates/note/search_transactions.html @@ -52,6 +52,10 @@ $("#table").load(location.pathname + "?" + filters.replaceAll(" ", "%20") + " #table"); } + function autocompleted() { + refreshFilters(); + } + $(document).ready(function() { $("input").change(refreshFilters); $("input").keyup(refreshFilters);