mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 09:51:29 +00:00
prefs: enable selecting all feeds in a category
This commit is contained in:
@@ -57,6 +57,7 @@
|
|||||||
$cat['bare_id'] = $feed_id;
|
$cat['bare_id'] = $feed_id;
|
||||||
$cat['name'] = $line['title'];
|
$cat['name'] = $line['title'];
|
||||||
$cat['items'] = array();
|
$cat['items'] = array();
|
||||||
|
$cat['checkbox'] = false;
|
||||||
$cat['type'] = 'category';
|
$cat['type'] = 'category';
|
||||||
|
|
||||||
$feed_result = db_query($link, "SELECT id, title, last_error,
|
$feed_result = db_query($link, "SELECT id, title, last_error,
|
||||||
|
|||||||
3
prefs.js
3
prefs.js
@@ -288,7 +288,8 @@ function getSelectedFeeds() {
|
|||||||
var rv = [];
|
var rv = [];
|
||||||
|
|
||||||
items.each(function(item) {
|
items.each(function(item) {
|
||||||
rv.push(tree.model.store.getValue(item, 'bare_id'));
|
if (item.id[0].match("FEED:"))
|
||||||
|
rv.push(tree.model.store.getValue(item, 'bare_id'));
|
||||||
});
|
});
|
||||||
|
|
||||||
return rv;
|
return rv;
|
||||||
|
|||||||
Reference in New Issue
Block a user