



Information on this problem seems sparse or spread around, so I thought I’d post it here.
I upgrade last week to Joomla 1.5.11
We noticed the problem of Category Blog not showing in proper order after that.
It was stuck on Order no matter how I configured the Category and Primary Order.
I set it to Primary order only, then Primary to most recent. Even which I changed this around, it remained in order.
I changed to multiple templates and it was stuck on Order.
I changed it from Blog view to List View and it was stuck on Order.
I finally looked at the 1.5.11 patch
This was added to:
components/com_content/models/category.php
Code:
if ($filter_order && $filter_order_Dir)
{
$orderby .= $filter_order .' '. $filter_order_Dir.', ';
}
+ elseif($filter_order == '' && $filter_order_Dir == '')
+ {
+ $filter_order='a.ordering';
+ $filter_order_Dir='ASC';
+ $orderby .= $filter_order .' '. $filter_order_Dir.', ';
+ }
I removed the added lines and it works again – selecting by most recent first.
It looks like they removed the code for the next patch
#15541 http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=15541
Commit
http://joomlacode.org/gf/project/joomla/scmsvn/?action=browse&path=%2F&view=rev&revision=12028




Erik Mauck and others have been working for some time on a documentary about the Austin Time Exchange. It took a lot of the early start and showed a lot of the ups and downs, evangelists and naysayers. I’m glad to see their work.
Time is Money (Documentary about the Austin Time Exchange Network) from Erik Mauck on Vimeo.


More Options ...
Categories
Tag Cloud
Blog RSS
Comments RSS

Void « Default
Life
Earth
Wind
Water
Fire
Light 