• lornagalvin

    (@lornagalvin)


    I have ordered the categories in Year order which works but in the year folders. I have ordered the categories Dec – Jan this shows in the back end but does not show on the front end. Can you advise

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi,

    It seems this is the plugin you are using:
    document-library-pro
    That is correct?

    It seems to be a commercial plugin. If you could send a copy to my email address then I can take a look at it for debugging purposes. Please send a copy of that plugin to [email protected]

    Thread Starter lornagalvin

    (@lornagalvin)

    Hi Marcel

    Apologies I have only just seen this – I will send it to you now

    Kind regards
    Lorna

    Plugin Author Marcel Pol

    (@mpol)

    Hi Lorna,
    Strange, it works here, for parent categories and subcategories.

    There is a thing you could check. You could install the plugin Query Monitor. When building a new website that is always a good idea anyway ??

    Then on the library page, hit the item “search queries” in the toolbar item for Query Monitor.
    Then select as caller the ‘get_terms’ database queries. For the main queries it should be ordered with ORDER BY t.term_order ASC for the queries for the document library plugin.
    If it lists t.name or t.id, something went wrong. In your case the subqueries might list name, not term_order.

    Can you manage?

    By the way, I see the library plugin has integration for this sorting plugin in the file document-library-pro/src/Integration/Custom_Taxonomy_Order.php. There the orderby for term_order is set. In theory it should all work ??

    Also, you don’t have any other plugins that might do something with term ordering? That might explain it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Ordering not working in sub folders on the front end’ is closed to new replies.