Blog Module - Make sure Categories and Authors in the Sidebar sort consistently
Sometimes the Blog sidebar Authors and Categories appear in an inconsistent order. The reason is not known, but no sort property is set currently.
We could either sort by a fixed property, or provide a method for choosing the sort via a Liquid parameter.
Log in to comment and vote
Comments2
Jan 5, 2021
Benjamin Porter
Jan 5, 2021
Solved - This issue was caused by Liquid inheritance. If you've applied any parameters to a List include (such as sorting), they'll be added to any include nested within the List layouts.
To prevent this from happening you'll either need to re-assign the parameters to either a different property, or simply "null":
{% assign null = 'null' %}
{%- include 'module', id: '3', layout: 'default', sorttype: null, sortorder: null -%}