I’m not sure whether this is a bug or not but EE is doing something strange.
I have a channel called Events. I have 2 Category groups, Event Type and Location assigned to the Events Channel.
There are 10 Categories in Category Group 1 (Type) and 40 in Category Group 2 (Location).
The following code works as expected, outputting all categories for an event:
{categories backspace="2"}
{category_name},
{/categories}Output:
Activities, London
Where Activities has an ID of 2 and London 11.
The following code does not work:
{categories show_group="1"}
{category_name}
{/categories}EE should output just Activities but nothing appears (in this example). Other event entries do display correctly with any of the other 9 categories in category group Event Type.
It get stranger…
{categories show_group="2"}
{category_name}
{/categories}Outputs:
Activities, London
But Activities is not in Category Group 2!
This is only happening with this specific Category (ID 2) from this group.
Any thoughts?