localeEnabled(false)
does not seem to do anything or I'm misunderstanding its use.
I'm on Craft 2.6 and have this code:
{% for region in Craft.entries.section('handle').level(1).localeEnabled(false) %}
This section is a structure with 3 top level categories which are enabled or disabled for certain languages.
If I'm viewing the site in the Spanish locale for example, I'm only seeing the entries that have Spanish enabled, because they're automatically filtered by Craft to my current Locale as is how Craft works.
So I thought, localeEnabled(false)
would get all of the entries in all locales.
But unfortunately, it doesn't work...
Is this a bug or do I misunderstand the function of that command? The explanation in the docs really read as if my understanding of the function is correct.