mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 16:11:30 +00:00
disable resort_feedlist; misc fixes in plain feedlist
This commit is contained in:
@@ -612,6 +612,8 @@ function resort_category(node, cat_mode) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function resort_feedlist() {
|
function resort_feedlist() {
|
||||||
|
return;
|
||||||
|
|
||||||
console.log("resort_feedlist");
|
console.log("resort_feedlist");
|
||||||
|
|
||||||
if ($("FCATLIST--1")) {
|
if ($("FCATLIST--1")) {
|
||||||
|
|||||||
@@ -4384,13 +4384,11 @@
|
|||||||
$result = db_query($link, "SELECT * FROM
|
$result = db_query($link, "SELECT * FROM
|
||||||
ttrss_labels2 WHERE owner_uid = '$owner_uid' ORDER by caption");
|
ttrss_labels2 WHERE owner_uid = '$owner_uid' ORDER by caption");
|
||||||
|
|
||||||
if (db_num_rows($result) > 0) {
|
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
||||||
if (get_pref($link, 'ENABLE_FEED_CATS')) {
|
$cat_hidden = get_pref($link, "_COLLAPSED_LABELS");
|
||||||
$cat_hidden = get_pref($link, "_COLLAPSED_LABELS");
|
$cat = feedlist_init_cat($link, -2, $cat_hidden);
|
||||||
$cat = feedlist_init_cat($link, -2, $cat_hidden);
|
} else {
|
||||||
} else {
|
$cat['items'] = array();
|
||||||
$cat['items'] = array();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
while ($line = db_fetch_assoc($result)) {
|
while ($line = db_fetch_assoc($result)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user