From e7e237dacaf7bbaa739c7e9a430958aed09aa647 Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 24 Dec 2024 00:13:29 +0000 Subject: add interaction buttons (they dont do anything) --- Digitigrade/Model/Note.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Digitigrade/Model/Note.php') diff --git a/Digitigrade/Model/Note.php b/Digitigrade/Model/Note.php index 37ddff3..3c0c690 100644 --- a/Digitigrade/Model/Note.php +++ b/Digitigrade/Model/Note.php @@ -103,7 +103,7 @@ class Note extends PushableModel { } public static function findAllWithAuthor(Actor $author, ?int $limit = null, int $offset = 0): array { - return self::findAllWhere('author = ?', [$author->id], $limit, $offset); + return self::findAllWhere('author = ?', [$author->id], $limit, $offset, 'created DESC'); } public function getInteractions(): array { -- cgit v1.3