By default Ditto displays the newest documents first. I would assume it does this by sorting the documents by ID in descending order. I want to sort then in ascending order. I’ve found the $orderBy parameter but this doesn’t appear to be something that I can pass in the snippet call. Is there an easy way to do this or do I need to edit the SQL in the snippet or something? Thanks!
Edit: I just searched for DESC in the snippet and changed it to ASC and that fixed the problem but it just occurred to me that doing that means that Ditto calls elsewhere that I want to be sorted in descending order will now be messed up so this isn’t a good solution.
Sweet. Thanks! The $ in the documentation threw me. I thought it was just an internal PHP variable and not a parameter. ’Preciate it!