My plugin is currently in need of some massive sorting, and I thought the best to do would be to order them by their names. Usually, groups are automatically sorted by e.time_created, but I would prefer by name for easier access.
However, it seems that I just cannot seem to find what actually controls that. I have used e. and g. for both title, and name. Looking around the discussions too see to say that .name and .title should work, but I am having absolutely no luck at all.
Is anyone able to assist me?
Keep in mind, my elgg version is 1.8.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Jerome Bakker@jeabakker
Jerome Bakker - 1 like
- Twitchy@Twitchy
Twitchy - 0 likes
You must log in to post replies.Update to a newer version, Elgg 1.8 hasn't been supported for a long time ;)
In your $options for elgg_get_entities() add:
That should work
That worked well enough, doesnt allow me to sort it for whatever reason but im sure I will figure out why. Thanks!