Order Direction Bug for Custom Queries

When creating a custom query. If I set the ‘Order direction’ to Ascending Pinegrow sets the ‘Order’ argument to ‘date’

I had to manually change the order after exporting themes as I had some trouble figuring out why my queries were not working as expected until I previewed the PHP code and played around with the settings.

The same issue does not happen with Descending.

TL:DR - There is a bug that sets ‘order’ => ‘date’ instead of ‘ASC’ when you select order direction by Ascending

2 Likes

@prizonified thanks, this is fixed, will be out in the next release.

There is a simple workaround for now.

In the Order direction enter ‘ASC’ (ASC including single quotes):

2 Likes