I tried searching GitHub but could not find anything reported.
I’m running 6.1.6 and this parameter: https://docs.expressionengine.com/latest/channels/entries.html#sticky
Does not work for me.
I tried stick=”no”, sticky=”none”, it really makes no difference. It seems I cannot hide a sticky entry.
It works, if I create a condition with if else and checks if stick is yes which means the sticky variable is detected but not when I use it in the channel parameter for sorting. But this is not ideal. I need to display results from a channel entry, but exclude them based on certain status and sticky entries.
Curious if this just my installation, or is this indeed a bug in my EE version?
I created the entry programmatically, and I can change it to sticky or not sticky. But I did enable this on the channel as well, as I initially imagined that was the issue, but it makes no difference in the template if sticky is enabled or not in the channel.
Strangely, the variable {sticky} inside the template shows the correct status when it’s off or on, but it does not work in the channel parameter. Changing it to sticky or not from the control panel makes no difference either.
Is there maybe a specific order it has to be? I had an issue before where one parameter did not worked until I moved it closer to the channel name. Not sure why but then it worked.
I plan upgrading but I was waiting until 6.3 gets a bit more stable as usually with new versions, patches and bugs are discovered as people start to upgrade. I still had no time to test my addons either and I seriously rely on them at this point in some of my template code.
Would you mind posting your example code with the sticky parameter to try to replicate it on my side? I actually first thought this was because it was in an embed template, but I even tried it on a normal template and nothing either.
Quite strange because at least with entry and channel parameters I never had any issue as they are quite robust and always work as being the most used variables and tested in EE. I don’t think this is a bug affecting this specific version, someone would have noticed and reported it. Something in my settings, or addons or config is more likely the culprit.
It shouldn’t really require any special order of parameters… The following is my test template. Please note, I plated with the parameters to make sure the changes to sticky were working as intended (as the most recent entry I had was the one I made sticky).
{exp:channel:entries channel="test" dynamic="no" limit="10" sticky="no" orderby="date" sort="asc"}
<h1>{title} - - {sticky}</h1>
{/exp:channel:entries}
If you don’t have the setting on the channel enabled, I don’t believe it will work.
Thanks,
-Tom Jaeger
Meant to mention.
As part of the release process of 6.3.0 we added in additional testing time. Which on our end has resulted in less patches needed since launch. (Also less bug reports on github etc.) As such, I’d say your probably in pretty good shape to upgrade.
Cheers,
-Tom Jaeger
No luck. Stickies still show. I will try upgrading, as I have no clue what is causing the issue at this stage. Even while creating entries from the control panel, it shows the sticky “y” and “n” status rendered, but all entries appear listed, regardless of the sticky sorting option. Other sorting works fine, like per status or user.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.