You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set article_finder = joomla.finder('content', article_options).published(1).language()
set articles = article_finder.order(sort.orderby, sort.ordering).limit(limit.total).start(limit.start).find()
Current "order()" Implementation, at "/libraries/gantry5/classes/Gantry/Joomla/Object/Finder.php"
When you use the content finder i.e. for joomla articles, it is currently only possible to sort by article attributes, but you can not sort it by random. See http://docs.gantry.org/gantry5/advanced/content-in-particles#orderby-direction-asc-alias-a-pagination-order. The current implementation quite hard-coded so it would be good if you can pass a function or offer a random function.
in Twig
Current "order()" Implementation, at "/libraries/gantry5/classes/Gantry/Joomla/Object/Finder.php"
The text was updated successfully, but these errors were encountered: