From 49a92c2437d3be9fba8c6af2d3f328ae525d81c6 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 28 Oct 2025 19:07:14 +0100 Subject: 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). image --- app/Models/Search.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/Models/Search.php') 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; -- cgit v1.2.3