forked from friendica/friendica-addons
Merge pull request 'GitHub Issue 14872: Change Ratioed default sort order' (#1619) from haheute/friendica-addons:ratioed-sort-order into 2025.07-rc
Reviewed-on: friendica/friendica-addons#1619
This commit is contained in:
commit
38dcc81d3c
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue