1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:15:55 +00:00

retire frankly ridiculous sorting by score/title/date/default

keep defaul and oldest first instead of REVERSE_HEADLINES
This commit is contained in:
Andrew Dolgov
2013-03-28 20:44:43 +04:00
parent 699e3cfc65
commit b9a06a0e39
7 changed files with 31 additions and 69 deletions

View File

@@ -413,20 +413,8 @@ function catchupFeed(feed, is_cat) {
return;
}
var max_id = 0;
if (feed == getActiveFeedId() && is_cat == activeFeedIsCat()) {
$$("#headlines-frame > div[id*=RROW]").each(
function(child) {
var id = parseInt(child.id.replace("RROW-", ""));
if (id > max_id) max_id = id;
}
);
}
var catchup_query = "?op=rpc&method=catchupFeed&feed_id=" +
feed + "&is_cat=" + is_cat + "&max_id=" + max_id;
feed + "&is_cat=" + is_cat;
console.log(catchup_query);