aboutsummaryrefslogtreecommitdiff
path: root/app/Models/Context.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-05-07 23:04:17 +0200
committerGravatar GitHub <noreply@github.com> 2024-05-07 23:04:17 +0200
commitea2bcf3a5d879286350c6ad60872f94f46c6fffb (patch)
tree9924a299119913d437ef6b38faf26029bdada565 /app/Models/Context.php
parentfd7157e40ca32fb1bcda51f1aaf484cbb7988bdd (diff)
Fix individual OMPL feed export (#6435)
fix https://github.com/FreshRSS/FreshRSS/issues/6433
Diffstat (limited to 'app/Models/Context.php')
-rw-r--r--app/Models/Context.php3
1 files changed, 2 insertions, 1 deletions
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) {