Squashed commit of the following:
commit 5582aafcd32fed704e217801e67051c0adecb710 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sat Sep 16 18:26:43 2017 +0100 update changelog commit a10ad1695382316ef88cd0630b0dd3437a974127 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sat Sep 16 18:25:54 2017 +0100 order notes by “latest”
This commit is contained in:
parent
3fe9c6e4f9
commit
53abe5a42d
2 changed files with 4 additions and 1 deletions
|
@ -22,7 +22,7 @@ class NotesController extends Controller
|
|||
return (new ActivityStreamsService)->siteOwnerResponse();
|
||||
}
|
||||
|
||||
$notes = Note::orderBy('id', 'desc')
|
||||
$notes = Note::latest()
|
||||
->with('place', 'media', 'client')
|
||||
->withCount(['webmentions As replies' => function ($query) {
|
||||
$query->where('type', 'in-reply-to');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue