Articles Anywhere

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

8 months 3 weeks 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)

8 months 3 weeks ago #77715

Peter van Westen's Avatar Peter van Westen Admin

No, not possible to order by custom field values.

8 months 3 weeks ago #77716

Marc's Avatar Marc

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

8 months 3 weeks 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.

1 month 1 week ago #82014

Betton Design's Avatar Betton Design

Hi Peter
Is this still the case? Would be nice to order by custom calendar field. No problem if not though :)

1 month 1 week ago #82016

Peter van Westen's Avatar Peter van Westen Admin

1 month 1 week ago #82017

Betton Design's Avatar Betton Design

Okay, thanks for the update.