You can set the order by any field selected in the filter settings: https://prnt.sc/sbpoku
Default sort order
Thanks for this, the only problem was that the ordering we were wanting to use was ORDER, ie whatever order they are arranged into within the backend so that the the client can choose the order to display the items (at least pre-filtering).
There doesn't appear to be an option for ORDERING? For now I've just adjusted the helper file query to order by a.ordering DESC instead.
You're right, at this moment, there is not option for the Ordering order, I will pass to the team for further consideration.
Regards
arcascomputing Hey there, I'm facing the exact same problem. Could you point out which file you edited to make the ordering work? I took a look at the helper file in the administrator/components/com_jamegafilter/helper.php but I dont see a query where the default ORDER BY is defined. Could you please give me a push in the right direction? Many thanks!
stdesign You can simply uncheck that any field: https://prnt.sc/uamct1 it will filter by ordering of articles.
saguaros I attached two screenshots. One from the adminstrator side and one from the front-end. You can see the difference in sorting.
When I open the page where the filter is added, https://www.sjaakvanschie.nl/nl/filter the default sorting is added to the URL as a parameter and becomes: https://www.sjaakvanschie.nl/nl/filter#sort=position&sortdir=desc.
So I'm guessing its sorting by position, but what does that mean? My first thought was that position would represent ordering but the outcome is something different.
saguaros Yes, well I added the new info to this topic:
https://www.joomlart.com/forums/d/32323-setting-the-deafult-sort-order-of-joomla-articles/4