correct pending where
This commit is contained in:
parent
9228448e2d
commit
ab3e2552fb
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ defmodule Pinchflat.Pages.HistoryTableLive do
|
||||||
defp generate_base_query("pending") do
|
defp generate_base_query("pending") do
|
||||||
MediaQuery.new()
|
MediaQuery.new()
|
||||||
|> MediaQuery.require_assoc(:media_profile)
|
|> MediaQuery.require_assoc(:media_profile)
|
||||||
|> where(^dynamic(^MediaQuery.downloaded()))
|
|> where(^dynamic(^MediaQuery.pending()))
|
||||||
|> order_by(desc: :id)
|
|> order_by(desc: :id)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue