Skip to content

A free, self-hostable news aggregator…

Fix individual OMPL feed export (#6435)

Alexandre Alapetiteea2bcf3a5d87
diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php
index 65e30c4bd..2588320b5 100644
--- a/app/Controllers/indexController.php
+++ b/app/Controllers/indexController.php
@@ -202,7 +202,7 @@ class FreshRSS_index_Controller extends FreshRSS_ActionController {
$type = (string)$get[0];
$id = (int)$get[1];
- $this->view->excludeMutedFeeds = true;
+ $this->view->excludeMutedFeeds = $type !== 'f'; // Exclude muted feeds except when we focus on a feed
switch ($type) {
case 'a':
diff --git a/app/Models/Context.php b/app/Models/Context.php
index 37a2064c6..7efb24ab1 100644
--- a/app/Models/Context.php
+++ b/app/Models/Context.php
@@ -389,7 +389,8 @@ final class FreshRSS_Context {
if (empty(self::$categories)) {
$catDAO = FreshRSS_Factory::createCategoryDao();
- self::$categories = $catDAO->listCategories(true);
+ $details = $type === 'f'; // Load additional feed details in the case of feed view
+ self::$categories = $catDAO->listCategories(true, $details);
}
switch($type) {