Morning,
I’m seeing something really odd with a channel display for my current site.
Here is the current code:
{reverse_related_entries sort="desc" orderby="corporate_logo_sort" channel="corporate_logos" }
{if no_reverse_related_entries}
<li><div>No current logos assigned for <?php echo($title); ?>!</div></li>
{/if}
<li id='logo_{entry_id}'>
Sort: {corporate_logo_sort}<br>
{corporate_logo_image}<br>{corporate_logo_link}
[{exp:delete:link
id="{entry_id}"
type="blog post"
template="includes/delete"
alert="true"
}
Delete
{/exp:delete:link}]
</li>
{/reverse_related_entries}
</ul>I’m leveraging the jQuery Sortable class to drag, drop, and make an Ajax call behind the scenes to set the channel field ‘Corporate Logo Sort’ (via a direct update SQL statement to the channel_data table). When I drag and drop and then view the corporate logo entry in the back end, I can see the correct value is being updated in the DB.
If I then try to print out the channel values on the front end interface (as I’m doing above with the Sort: {corporate_logo_sort} call), it presents a value that I had manually set in the back end numerous revisions ago. Is there somewhere this data is being stored/pulled from other than the channel_data table?
Any help would be greatly appreciated. Have a happy Thanksgiving.
Thanks,