Update the sorting (order by) algorithm in getCategories() function.
It would be nice to be able to sort by the order of the Catalogs associated to the Portal (as per m2m_sp_portal_search_source order field first) . Categories for Catalogs with a lower order number should appear first.
Update the sorting (order by) algorithm in
getCategories()
function.It would be nice to be able to sort by the order of the Catalogs associated to the Portal (as per
m2m_sp_portal_search_source
order field first) . Categories for Catalogs with a lower order number should appear first.