Keyword

FIXED: Order by "Ordering" should order by category order first...

  • harikaram
  • harikaram's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 6 months ago #95417 by harikaram
Right now with "catalogue mode" turned off, items from subcategories are all displayed together however there is no way to sort items from one category relative to another as the order ids are normalised per subcategory.

 

I can live with this but ideally they should at least respect the order of the categories themselves, which presently they don't.  Its an easy fix though...

 

In site/componens/com_k2/models/itemlist.php.  Change line 233 from:

 

else

   $orderby = 'i.ordering';

break;

 

to:

 

else

   $orderby = 'c.ordering, i.ordering';


break;
 

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum