diff options
Diffstat (limited to 'app/Models/Feed.php')
| -rw-r--r-- | app/Models/Feed.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 6a995fef0..acbe11fe9 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -537,6 +537,13 @@ class FreshRSS_Feed extends Minz_Model { $this->nbEntries = $value; } + public function defaultSort(): ?string { + return $this->attributeString('defaultSort'); + } + public function defaultOrder(): ?string { + return $this->attributeString('defaultOrder'); + } + /** * @throws Minz_FileNotExistException * @throws FreshRSS_Feed_Exception |
