



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
http://joomlacode.org/gf/project/joomla/scmsvn/?action=browse&path=%2F&view=rev&revision=12028


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

Void « Default
Life
Earth
Wind
Water
Fire
Light 