Fix individual OMPL feed export (#6435)

fix https://github.com/FreshRSS/FreshRSS/issues/6433
This commit is contained in:
Alexandre Alapetite 2024-05-07 23:04:17 +02:00 committed by GitHub
parent fd7157e40c
commit ea2bcf3a5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -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':

View File

@ -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) {