From a85e563a0f8ca7bfb3db65836f1e2dde4023eae6 Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Tue, 13 Feb 2024 11:46:47 -0800 Subject: [PATCH] Added persistence to the search form when on search page --- lib/pinchflat_web/components/layouts/app.html.heex | 2 +- lib/pinchflat_web/components/layouts/partials/header.html.heex | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pinchflat_web/components/layouts/app.html.heex b/lib/pinchflat_web/components/layouts/app.html.heex index a582e8c..ffb79a6 100644 --- a/lib/pinchflat_web/components/layouts/app.html.heex +++ b/lib/pinchflat_web/components/layouts/app.html.heex @@ -2,7 +2,7 @@ <.sidebar />
- <.header /> + <.header params={@conn.params} />
<.flash_group flash={@flash} /> diff --git a/lib/pinchflat_web/components/layouts/partials/header.html.heex b/lib/pinchflat_web/components/layouts/partials/header.html.heex index c08b6c1..056d30b 100644 --- a/lib/pinchflat_web/components/layouts/partials/header.html.heex +++ b/lib/pinchflat_web/components/layouts/partials/header.html.heex @@ -20,6 +20,7 @@