Show
Ignore:
Timestamp:
09/26/07 08:57:31 (14 months ago)
Author:
mdodoo
Message:

Lots of things are still not working, but I think this code is better than what was currently committed ([1639]
should have been reverted, and the person who committed should have had their SVN access pulled, for example).
Created this by grabbing the trunk code and then manually inserting the MU branch's changes in. This is probably
not usable in an actual installation (no support for creating new user accounts yet, for example), but patches are
welcome.

Not sure why I write so much here - I am not sure anyone other than my fellow devs actually read them...

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/multiuser/cls/channels.php

    r1640 r1759  
    224224            ." from " . getTable('item2user') ." i2u " 
    225225            . " inner join " . getTable('channels2user') . " c2u on c2u.fkuid=" . rss_user_id() 
    226             . " inner join " . getTable('folders') ." f on c2u.parent=f.id" 
     226            . " inner join " . getTable('channels') . " c on c.id = c2u.fkcid" 
     227            . " inner join " . getTable('folders') ." f on c.parent=f.id" 
    227228            ." where i2u.flgunread =1 " 
    228229            ." and i2u.flgdeleted=0 "; 
     
    252253        _pf('FeedList->populate() ...'); 
    253254        $sql = "select " 
    254         ." c.id, c.title, c.url, c.siteurl, f.name, c2u.parent, c2u.icon, c.descr, c2u.flgdeleted,c2u.flgprivate " 
     255        ." c.id, c.title, c.url, c.siteurl, f.name, c.parent, c2u.icon, c.descr, c2u.flgdeleted,c2u.flgprivate " 
    255256        ." from ".getTable("channels")." c " 
    256257        . " inner join " . getTable("channels2user")." c2u on c2u.fkcid=c.id " 
     
    265266 
    266267        if (getConfig('rss.config.absoluteordering')) { 
    267             $sql .= " order by f.position asc, c2u.position asc"; 
     268            $sql .= " order by f.position asc, c.position asc"; 
    268269        } else { 
    269270            $sql .= " order by f.name, c.title asc";