diff options
Diffstat (limited to 'app/Models/Category.php')
| -rw-r--r-- | app/Models/Category.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/Models/Category.php b/app/Models/Category.php index 2bdad2904..08ab22c19 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -171,6 +171,13 @@ class FreshRSS_Category extends Minz_Model { $this->sortFeeds(); } + public function defaultSort(): ?string { + return $this->attributeString('defaultSort'); + } + public function defaultOrder(): ?string { + return $this->attributeString('defaultOrder'); + } + /** * To manually add feeds to this category (not committing to database). */ |
