update_rss_feed: add log message if article is filtered out

combine filters: fix crash on missing global function
master
Andrew Dolgov 6 years ago
parent b08ce13825
commit f3737c0b24

@ -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;
}

@ -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."));

Loading…
Cancel
Save