Articles Anywhere

Filter by Custom Field is possible, but what about Order by Custom Field

3 weeks 3 days ago #77713

Marc's Avatar Marc

Hi Peter,

With Articles anywhere, it is possible to *filter* by Custom Field, but not to order.

One can indeed *order* by Title, ID, Date etc. Example :
{articles category="12" ordering="title DESC"}...{/articles}

But is it possible to also order by some Custom Field ?
(I have tested in case it would have been there but undocumented. But it generates an error. So you might consider my question as a feature suggestion :-D)

3 weeks 3 days ago #77715

Peter van Westen's Avatar Peter van Westen Admin

No, not possible to order by custom field values.

3 weeks 3 days ago #77716

Marc's Avatar Marc

OK, not possible.
But would you be able to integrate that in a next release ? :)

3 weeks 3 days ago #77717

Peter van Westen's Avatar Peter van Westen Admin

No, probably not. This would make the database queries too complicated, slow and unworkable.