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],
|
[mi, source],
|
||||||
# TODO: this isn't actually correct when not public it could also be unlisted,
|
# 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
|
# 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 == :only and mi.public == false) or
|
||||||
source.members_content_behaviour == "exclude" and mi.public == true
|
(source.members_content_behaviour == :exclude and mi.public == true)
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue