]> git.wh0rd.org Git - tt-rss.git/commitdiff
properly select categories which have the same numeric ID as existing feeds
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 14:44:10 +0000 (15:44 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 14:44:10 +0000 (15:44 +0100)
feedlist.js

index 5a279d8cf13106f444b7b19f8800470212b16025..b4ac13133f7c20c1761346021ed5ce57663fb838 100644 (file)
@@ -214,7 +214,10 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
                                queue: { position:'end', scope: 'FEEDL-' + feed, limit: 1 } } );
                } */
 
-               var unread_ctr = get_feed_unread(feed);
+               var unread_ctr = -1;
+               
+               if (!is_cat) unread_ctr = get_feed_unread(feed);
+
                var cache_check = false;
 
                if (unread_ctr != -1 && !page_offset && !force_nocache && !subop) {