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 authored and GitHub committed 2026-03-02 21:45:38 +01:00
1 parent 3e4d5bb041
commit 4a2c93c9e7
4 files changed
+4 -1

No files matched your search

+1 -1
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 ',