mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-26 13:08:38 -04:00
fix: Fix the "Show all articles" option (#5580)
This commit is contained in:
1 parent
1e0e4f54a5
commit
54592fa1fd
1 file changed
+3
-1
@@ -208,7 +208,9 @@ final class FreshRSS_Context {
|
||||
self::$state = Minz_Request::paramInt('state') ?: self::$user_conf->default_state;
|
||||
$state_forced_by_user = Minz_Request::paramString('state') !== '';
|
||||
if (!$state_forced_by_user && !self::isStateEnabled(FreshRSS_Entry::STATE_READ)) {
|
||||
if (self::$user_conf->default_view === 'adaptive' && self::$get_unread <= 0) {
|
||||
if (self::$user_conf->default_view === 'all') {
|
||||
self::$state |= FreshRSS_Entry::STATE_ALL;
|
||||
} elseif (self::$user_conf->default_view === 'adaptive' && self::$get_unread <= 0) {
|
||||
self::$state |= FreshRSS_Entry::STATE_READ;
|
||||
}
|
||||
if (self::$user_conf->show_fav_unread &&
|
||||
|
||||
Reference in new issue
Block a user