diff options
author | Andrew Dolgov <[email protected]> | 2018-12-08 17:01:30 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-08 17:01:30 +0300 |
commit | f3737c0b24b2e57b8ff88b29d8cbca5bc9864df8 (patch) | |
tree | 6a11115727e2061b389cc0720d274091f205f8b2 | |
parent | b08ce13825089370783f4b1fc0ae3256b73b4ccb (diff) |
update_rss_feed: add log message if article is filtered out
combine filters: fix crash on missing global function
-rwxr-xr-x | classes/rssutils.php | 1 | ||||
-rw-r--r-- | js/PrefFilterTree.js | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php index 65dd35043..8b3c7c0d0 100755 --- a/classes/rssutils.php +++ b/classes/rssutils.php @@ -923,6 +923,7 @@ class RSSUtils { $entry_ref_id = $ref_id; if (RSSUtils::find_article_filter($article_filters, "filter")) { + Debug::log("article is filtered out, nothing to do."); $pdo->commit(); continue; } diff --git a/js/PrefFilterTree.js b/js/PrefFilterTree.js index 7f29566a6..0a8a2aa43 100644 --- a/js/PrefFilterTree.js +++ b/js/PrefFilterTree.js @@ -101,7 +101,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "lib/CheckBoxTree"], functio }); }, joinSelectedFilters: function() { - const rows = getSelectedFilters(); + const rows = this.getSelectedFilters(); if (rows.length == 0) { alert(__("No filters selected.")); |