Fix redirect to wrong view after mark as read (#8552)

fix https://github.com/FreshRSS/FreshRSS/issues/6509
A wrong redirect (to normal view) happened in case of both the big mark as read button on the bottom and the navbar 
one, for reader and global views.
This commit is contained in:
Inverle
2026-03-02 21:45:38 +01:00
committed by GitHub
parent 3e4d5bb041
commit 4a2c93c9e7
4 changed files with 4 additions and 1 deletions

View File

@@ -200,7 +200,7 @@ class FreshRSS_entry_Controller extends FreshRSS_ActionController {
$is_read ? _t('feedback.sub.articles.marked_read') : _t('feedback.sub.articles.marked_unread'),
[
'c' => 'index',
'a' => 'index',
'a' => Minz_Request::paramStringNull('from') ?? 'index',
'params' => $params,
],
notificationName: 'readAction ',