I couldn't get the news module to order stories by news_title, the story title. The fix is to change of actin.default.php to add "mn." before the field name :
$query1 .= "ORDER BY mn." . str_replace("'", '', str_replace(';', '', $params['sortby'])) . " ";
News module ordering bug
-
- Forum Members
- Posts: 21
- Joined: Thu Mar 23, 2006 11:06 am
News module ordering bug
Last edited by tractorboy on Thu Mar 13, 2008 3:23 pm, edited 1 time in total.
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
- Location: Fernie British Columbia, Canada
Re: News module ordering bug
thanks, I've committed this change to svn.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.