So I have a weblog tag searching for entries based on the URL segments and status. {segment_1} is the entry’s URL Title, where {segment_2} is a flag used in a conditional to determine a status to use.
Very simple. Here’s the code as it would be in the template:
{exp:weblog:entries weblog="myweblog" url_title="{segment_1}"
status="{if '{segment_2}' == 'preview'}Awaiting_approval|open{if:else}open{/if}" dynamic="off" limit="1"}When that entry is open, works fine. When it’s closed, work’s as expected. When set to Awaiting_approval - it fails like England v Algeria on a sunny day?
Am I overlooking something here?