mirror of
https://github.com/friendica/friendica
synced 2024-12-23 00:40:15 +00:00
Merge pull request #8616 from annando/annando/issue8614
Order of filed items in saved folders seems to be random
This commit is contained in:
commit
b2ce9601da
1 changed files with 1 additions and 1 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in a new issue