From ab3e2552fbf21c4ab5df13df2df3b3aa66db09ce Mon Sep 17 00:00:00 2001 From: Robert Kleinschuster Date: Fri, 13 Dec 2024 11:35:21 +0000 Subject: [PATCH] correct pending where --- .../controllers/pages/page_html/history_table_live.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex b/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex index e01ae86..eb25d47 100644 --- a/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex +++ b/lib/pinchflat_web/controllers/pages/page_html/history_table_live.ex @@ -100,7 +100,7 @@ defmodule Pinchflat.Pages.HistoryTableLive do defp generate_base_query("pending") do MediaQuery.new() |> MediaQuery.require_assoc(:media_profile) - |> where(^dynamic(^MediaQuery.downloaded())) + |> where(^dynamic(^MediaQuery.pending())) |> order_by(desc: :id) end