From 1fdc6d9794b738edb75d19531fef15dc10185f3c Mon Sep 17 00:00:00 2001 From: Hannes Heute Date: Thu, 20 Nov 2025 15:46:44 +0100 Subject: [PATCH] GitHub Issue 14872: Change Ratioed default sort order --- ratioed/RatioedPanel.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ratioed/RatioedPanel.php b/ratioed/RatioedPanel.php index 4cf5d7ff..37e692a5 100644 --- a/ratioed/RatioedPanel.php +++ b/ratioed/RatioedPanel.php @@ -48,11 +48,11 @@ class RatioedPanel extends Active ]; $order = 'last-item'; - $order_direction = '+'; + $order_direction = '-'; if (!empty($_REQUEST['o'])) { $new_order = $_REQUEST['o']; - if ($new_order[0] === '-') { - $order_direction = '-'; + if ($new_order[0] !== '-') { + $order_direction = '+'; $new_order = substr($new_order, 1); }