-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
channel = not x param doesn't work correctly if 'x' doesn't exist #3429
Comments
intoeetive
added a commit
that referenced
this issue
May 25, 2023
…y if channel X did not exist (cherry picked from commit 25e71b0)
matthewjohns0n
added a commit
that referenced
this issue
Jun 12, 2023
…not-channel Resolved #3429 where `channel="not X` parameter did not work correctly if channel X did not exist
matthewjohns0n
added a commit
that referenced
this issue
Jun 12, 2023
…not-channel Resolved #3429 where `channel="not X` parameter did not work correctly if channel X did not exist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I use "not x" when 'x' doesn't exist a lot in parameters as a quick 'show me everything'.
I just noticed, it doesn't work on the entries tag, channel parameter.
{exp:channel:entries channel="not gone"}
If the channel 'gone' doesn't exist? I get no entries back. If it DOES exist, it works properly- I get entries from all channels except gone.
I'm guessing it bails out early if it can't find a channel specified in the 'not' but this was unexpected behavior. Not sure when it broke- tested a 7.2.13 and it was broken.
I don't do this a ton with the channel param, but obviously, I do it sometimes. I use it in status a lot as a quick cheat.
The text was updated successfully, but these errors were encountered: