I've got
{if segment_3 == "desc" OR segment_4 == "desc"}
and EE is just ignoring it or not parsing it or something. I can try
{if segment_3 == "desc" || segment_4 == "desc"}
and that doesn't work either. However, if i have {if segment_3 == "desc"}
on it's own, that works fine.
What's going on here huh?
More of the code around this, it's in a channel:entries tag and it's to define whether a orderby and sort paramater is applied:
{exp:channel:entries
channel="my_channel"
limit="15"
paginate="bottom"
{if segment_3 != "asc" OR segment_4 != "desc"} category={segment_3_category_id} {/if}
{if segment_3 == "desc" || segment_4 == "desc"} orderby="woa-price" sort="desc"{/if}
{/channel:entries}