Page 1 of 1

Article Menu does not sort

Posted: Tue 9. May 2006, 13:50
by 1996 328ti
I suppose it is working the way it should but wonder if there is a workaround?

I have some categories (site structure) that sort by start date descending.
The list of articles sort fine.

When I use the Article Menu part in another article, the articles are not in the proper order.
They appear to be in someother order. Possibly creation order.

Posted: Tue 9. May 2006, 13:54
by Klappstuhl28

Posted: Tue 9. May 2006, 14:08
by 1996 328ti
I'm not sure if that is the same problem.

Image
is a sorted list of articles. Correct.

Below
Image
uses the article menu content part. The dates are in a different order.

Posted: Mon 15. May 2006, 15:02
by Christian Roth
Same problem here :-(

I would expect the Article menu to use the sorting settings that has been set for the category it displays the listing for.

However, when I look at the (supposed...) code in /include/inc_front/content/cnt15.article.inc.php, the sort order seems to be fixed at

Code: Select all

ORDER BY article_sort, article_tstamp DESC
.

How must this code be patched so that the Article menu content part correctly reflects the sort order set for the category it is used on?

-rc