From 916d4521cb595493bc5df8b7f9ef52310b6d013a Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 23 Dec 2024 22:17:41 +0000 Subject: actor profile page --- Digitigrade/Model/Note.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Digitigrade/Model/Note.php') diff --git a/Digitigrade/Model/Note.php b/Digitigrade/Model/Note.php index 8dbec90..105f475 100644 --- a/Digitigrade/Model/Note.php +++ b/Digitigrade/Model/Note.php @@ -102,8 +102,8 @@ class Note extends PushableModel { return $actors; } - public static function findAllWithAuthor(Actor $author): array { - return self::findAllWhere('author = ?', [$author->id]); + public static function findAllWithAuthor(Actor $author, ?int $limit = null, int $offset = 0): array { + return self::findAllWhere('author = ?', [$author->id], $limit, $offset); } public function getInteractions(): array { -- cgit v1.3