Missing function "Feeds.catchupAllFeeds()" when marking all feeds as read

Current setup: tt-rss git (c7c9c5fb0), fedora 29, mysql (mariadb 10.3.11-1), php 7.2.13

After recently updating my TT-RSS instance, the “Mark all feeds as read” option (available in the Special top group) stopped working. The error was as missing javascript function: “Feeds.catchupAllFeeds”.

The function is actually implemented, but under another name: “Feeds.catchupAll”. The following patch made the trick:

diff --git a/js/FeedTree.js b/js/FeedTree.js
index f89486332..b8e50872a 100755
--- a/js/FeedTree.js
+++ b/js/FeedTree.js
@@ -110,7 +110,7 @@ define(["dojo/_base/declare", "dojo/dom-construct", "dijit/Tree", "dijit/Menu"],
                                menu.addChild(new dijit.MenuItem({
                                        label: __("Mark all feeds as read"),
                                        onClick: function() {
-                                               Feeds.catchupAllFeeds();
+                                               Feeds.catchupAll();
                                        }}));
 
                                menu.bindDomNode(tnode.domNode);

thanks but why not file a pull request? :slight_smile: