From cd214102af0b33678e4edc693ca56ced92d3dac2 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 9 May 2020 18:47:56 +0000 Subject: [PATCH] Order of filed items in saved folders seems to be random Fixes #8614 --- mod/network.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/network.php b/mod/network.php index b6afda608b..1506c70737 100644 --- a/mod/network.php +++ b/mod/network.php @@ -383,7 +383,7 @@ function networkFlatView(App $a, $update = 0) if (strlen($file)) { $item_params = ['order' => ['uri-id' => true]]; $term_condition = ['name' => $file, 'type' => Category::FILE, 'uid' => local_user()]; - $term_params = ['order' => ['tid' => true], 'limit' => [$pager->getStart(), $pager->getItemsPerPage()]]; + $term_params = ['order' => ['uri-id' => true], 'limit' => [$pager->getStart(), $pager->getItemsPerPage()]]; $result = DBA::select('category-view', ['uri-id'], $term_condition, $term_params); $posts = []; -- 2.39.5