From b5ee1d8936f64178b88eb289babafa020c24085d Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 17 Sep 2025 14:03:00 +0200 Subject: Keep sort and order after marking as read (#7974) fix https://github.com/FreshRSS/FreshRSS/issues/7867 --- app/Controllers/entryController.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/Controllers') diff --git a/app/Controllers/entryController.php b/app/Controllers/entryController.php index 0cf25e24d..cbba1817e 100644 --- a/app/Controllers/entryController.php +++ b/app/Controllers/entryController.php @@ -183,6 +183,12 @@ class FreshRSS_entry_Controller extends FreshRSS_ActionController { } if (!$this->ajax) { + if (Minz_Request::hasParam('order')) { + $params['order'] = Minz_Request::paramString('order', plaintext: true); + } + if (Minz_Request::hasParam('sort')) { + $params['sort'] = Minz_Request::paramString('sort', plaintext: true); + } Minz_Request::good( $is_read ? _t('feedback.sub.articles.marked_read') : _t('feedback.sub.articles.marked_unread'), [ -- cgit v1.2.3