Hello,
This code was working well in the EE 2.8.1, but stopped working correctly in 2.9.0:
{exp:channel:entries channel="services" limit="1" require_entry="yes"}
{if last_segment == 'case-studies'}
<ol class="caselist">
{case_studies_body}
<li><a href="http://{case_studies_relationship_field:url_title}/">{case_studies_relationship_field:title}</a></li>
{/case_studies_body}
</ol>
{if:elseif last_segment == '{case_studies_relationship_field:url_title}'}
{case_studies_relationship_field limit="1"}
<h3>{case_studies_relationship_field:title}</h3>
<p> {case_studies_relationship_field:case_studies_body}<br />
{/case_studies_relationship_field}</p>
<p>{/exp:channel:entries}
It’s displaying case_study entry related to the selected service. But it’s working only for the first entry in the relationship field, doesn’t work for the second, third, etc gives 404 error. What could be the reason?
I’d appreciate any help.
Thanks!
Tim