We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ec2d38 commit b7a2de3Copy full SHA for b7a2de3
src/Revisions/RevisionRepository.php
@@ -16,6 +16,7 @@ public function make(): RevisionContract
16
public function whereKey($key)
17
{
18
return app('statamic.eloquent.revisions.model')::where('key', $key)
19
+ ->orderBy('created_at')
20
->get()
21
->map(function ($revision) use ($key) {
22
return $this->makeRevisionFromFile($key, $revision);
0 commit comments