From f7beafb3d93c4378cd6175a8fb47490559233f6e Mon Sep 17 00:00:00 2001 From: Tsvetozar Penov Date: Mon, 16 Dec 2024 15:32:36 +0100 Subject: [PATCH] Improve admin filtering --- .../components/admin/admin_components.ex | 165 ++++++++++++------ .../controllers/generic_admin_controller.ex | 90 ++++++++-- 2 files changed, 183 insertions(+), 72 deletions(-) diff --git a/lib/sanbase_web/components/admin/admin_components.ex b/lib/sanbase_web/components/admin/admin_components.ex index b47233e77..a9246ac20 100644 --- a/lib/sanbase_web/components/admin/admin_components.ex +++ b/lib/sanbase_web/components/admin/admin_components.ex @@ -830,71 +830,126 @@ defmodule SanbaseWeb.AdminComponents do def search(assigns) do ~H""" -
- <.form - for={%{}} - as={:search} - method="get" - action={Routes.generic_admin_path(SanbaseWeb.Endpoint, :search, resource: @resource)} - class="max-w-lg md:w-96" - > - - -
- -