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.

    Hi arcascomputing

    You're right, at this moment, there is not option for the Ordering order, I will pass to the team for further consideration.

    Regards

    4 months later

    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!

      saguaros I was hoping that it would work in such a way but everything is unchecked and I re-indexed the filter but it still has a odd sorting.

      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.

        stdesign Could you submit a new topic and share the admin info of your site so I can check?

          Write a Reply...
          You need to Login to view replies.