I have this in my listings template, but the 'pending' parameter does not seem to work.
{% set urlCat = craft.request.getSegment(3) %}
{% set category = craft.categories.slug( urlCat ) %}
{% set allEntries = craft.entries.status('live, pending').section('sectionName').relatedTo(category).find() %}
This seems to only return 'live' entries even though I do have 'pending' specified. I've tried this several ways and cannot seem to make it work.
The strange thing is that this seems to work fine on my single entry page where I have:
{% set entry = craft.entries.section('sectionName').slug(selected).status("live, pending").first() %}
Any ideas? Thanks :)
status
tonull
doesn't return only 'live' and 'pending' entries! – carlcs Aug 15 '14 at 12:59