Created
June 27, 2013 09:53
-
-
Save marzsman/5875310 to your computer and use it in GitHub Desktop.
Order entities by name/title
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$options = array( | |
'full_view' => false, | |
'list_type_toggle' => false, | |
'pagination' => true, | |
'list_type' => 'gallery', | |
'joins' => array('INNER JOIN elgg_objects_entity o ON e.guid = o.guid'), | |
'order_by' => 'o.title asc', | |
'limit' => 9 | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment