From 9f59dd7bdbf1abfafd03ef9ae80ea23367b9b4bd Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 29 Oct 2025 15:35:33 -0500 Subject: [PATCH] Reset bar after clicking a result Fixes that search input was still filled even though the dialog was gone: https://box-car.com/5986089/cards/2513 --- app/views/searches/_result.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/searches/_result.html.erb b/app/views/searches/_result.html.erb index c4caad8f9..6a5dbcae5 100644 --- a/app/views/searches/_result.html.erb +++ b/app/views/searches/_result.html.erb @@ -1,5 +1,5 @@
  • - <%= link_to result.source, class: "search__result", data: { turbo_frame: "_top" } do %> + <%= link_to result.source, class: "search__result", data: { turbo_frame: "_top", action: "bar#reset" } do %>

    # <%= result.card_id %> <%= result.card_title %>