Sort by rank bug
Posted: 27 January 2008 08:04 PM   [ Ignore ]
Newbie
Rank
Total Posts:  4
Joined  2008-01-23

on mod.favorites.php under function rank();

if ( $TMPL->fetch_param('category') OR ($cat_id != '' AND $dynamic) )
  
{
   $sql
.= " LEFT JOIN exp_category_posts ON f.entry_id = exp_category_posts.entry_id LEFT JOIN exp_categories ON exp_category_posts.cat_id = exp_categories.cat_id";
  
}

the

f.entry_id

should be

t.entry_id

otherwise it will give you a msyql error.

Profile
 
 
Posted: 30 January 2008 07:11 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3272
Joined  2006-10-18

nVaux,

Thank you very much! We’ll channel in this fix for the next update of Favorites smile

 Signature 
Profile
 
 
Posted: 28 September 2008 09:02 PM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  3272
Joined  2006-10-18

nVaux,

This bug as been corrected in Favorites 2.5.0

 Signature 
Profile