mirror of
https://github.com/kieraneglin/pinchflat.git
synced 2026-01-23 02:24:24 +00:00
fix qyuery
This commit is contained in:
parent
f5fe554345
commit
12864c30fe
1 changed files with 2 additions and 2 deletions
|
|
@ -73,8 +73,8 @@ defmodule Pinchflat.Media.MediaQuery do
|
|||
[mi, source],
|
||||
# TODO: this isn't actually correct when not public it could also be unlisted,
|
||||
# there may be other cases but the exclude case should be correct
|
||||
source.members_content_behaviour == "only" and mi.public == false or
|
||||
source.members_content_behaviour == "exclude" and mi.public == true
|
||||
(source.members_content_behaviour == :only and mi.public == false) or
|
||||
(source.members_content_behaviour == :exclude and mi.public == true)
|
||||
)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue