Last active
August 29, 2015 14:11
-
-
Save nfourtythree/49624385c01137dd68e7 to your computer and use it in GitHub Desktop.
Bug in Craft CMS when using dateUpdated or dateCreated and .ids()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{# Setup Data #} | |
{% set stuff = craft.entries({ | |
section: "mySection", | |
order: "dateUpdated ASC", | |
}) %} | |
{# Retrieve Ids #} | |
{% set ids = stuff.ids() %} | |
{# | |
Produces and error that says the field dateUpdated is ambiguous | |
Works fine when using .find() etc | |
#} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment