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:
Jonny Barnes 2017-09-16 18:27:02 +01:00
parent 3fe9c6e4f9
commit 53abe5a42d
2 changed files with 4 additions and 1 deletions

View file

@ -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');

View file

@ -1,5 +1,8 @@
# Changelog
## Version {next}
- Order notes by latest (issue#70)
## Version 0.8 (2017-09-16)
- Improve embedding of tweets (issue#66)
- Allow for “responsive” images (issue#62)