diff options
| author | 2025-10-28 19:07:14 +0100 | |
|---|---|---|
| committer | 2025-10-28 19:07:14 +0100 | |
| commit | 49a92c2437d3be9fba8c6af2d3f328ae525d81c6 (patch) | |
| tree | fa62707782aa152bb5f28af1a4fce863d418a0b9 /app/Models/Search.php | |
| parent | 6440f9c9a91160103b7c2c369761ada31926c02a (diff) | |
Mark as read 1 or 7 days based on publication date (#8163)
Allow the UI for marking as read articles older than 1 or 7 days to also work when sorting by publication date (in which case, the publication date is used).
<img width="382" height="229" alt="image" src="https://github.com/user-attachments/assets/a630dec8-1e18-4766-8392-59fb593dd73d" />
Diffstat (limited to 'app/Models/Search.php')
| -rw-r--r-- | app/Models/Search.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Models/Search.php b/app/Models/Search.php index a14f1bf1a..265f6a45d 100644 --- a/app/Models/Search.php +++ b/app/Models/Search.php @@ -274,6 +274,9 @@ class FreshRSS_Search implements \Stringable { public function getNotMaxPubdate(): ?int { return $this->not_max_pubdate ?: null; } + public function setMaxPubdate(int $value): void { + $this->max_pubdate = $value; + } public function getMinUserdate(): ?int { return $this->min_userdate ?: null; |
