From: Michael Date: Sat, 9 May 2020 18:47:56 +0000 (+0000) Subject: Order of filed items in saved folders seems to be random X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cd214102af0b33678e4edc693ca56ced92d3dac2;p=friendica.git Order of filed items in saved folders seems to be random Fixes #8614 --- 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 = [];