Fix order of reshared items on the profile page
This commit is contained in:
		
					parent
					
						
							
								af084d1c33
							
						
					
				
			
			
				commit
				
					
						b6f349076c
					
				
			
		
					 2 changed files with 20 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -193,7 +193,7 @@ class Status extends BaseProfile
 | 
			
		|||
		$pager = new Pager(DI::l10n(), $args->getQueryString(), $itemspage_network);
 | 
			
		||||
		$params = ['limit' => [$pager->getStart(), $pager->getItemsPerPage()], 'order' => ['received' => true]];
 | 
			
		||||
 | 
			
		||||
		$items_stmt = DBA::select('item', ['uri', 'thr-parent-id', 'gravity', 'author-id'], $condition, $params);
 | 
			
		||||
		$items_stmt = DBA::select('item', ['uri', 'thr-parent-id', 'gravity', 'author-id', 'received'], $condition, $params);
 | 
			
		||||
 | 
			
		||||
		// Set a time stamp for this page. We will make use of it when we
 | 
			
		||||
		// search for new items (update routine)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue