aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/entryController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/entryController.php')
-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'),
[