From a9daba16c15a246737b417869cda42ec6de90258 Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Thu, 5 Dec 2024 08:39:16 -0500 Subject: [PATCH] Fix account activity view search --- app/views/account/entries/index.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/account/entries/index.html.erb b/app/views/account/entries/index.html.erb index c66d37679cf..1ce474093a5 100644 --- a/app/views/account/entries/index.html.erb +++ b/app/views/account/entries/index.html.erb @@ -26,7 +26,7 @@
- <%= form_with url: account_entries_path(@account), + <%= form_with url: account_entries_path, id: "entries-search", scope: :q, method: :get, @@ -35,6 +35,7 @@
<%= lucide_icon("search", class: "w-5 h-5 text-gray-500") %> + <%= hidden_field_tag :account_id, @account.id %> <%= form.search_field :search, placeholder: "Search entries by name", value: @q[:search],