aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-09-17 14:03:00 +0200
committerGravatar GitHub <noreply@github.com> 2025-09-17 14:03:00 +0200
commitb5ee1d8936f64178b88eb289babafa020c24085d (patch)
tree8d61af085b79ced43a10ce94f463fe7167cea7cd /app/Controllers
parent25250f46b4f110e9c9a1a1f4366889c3701bca18 (diff)
Keep sort and order after marking as read (#7974)
fix https://github.com/FreshRSS/FreshRSS/issues/7867
Diffstat (limited to 'app/Controllers')
-rw-r--r--app/Controllers/entryController.php6
1 files changed, 6 insertions, 0 deletions
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'),
[