From f8310a587c26b0965bab71abfeb2d018e414f572 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 15 Sep 2025 23:43:46 +0200 Subject: Clarify: Visibility hidden vs. archived (#7970) fix https://github.com/FreshRSS/FreshRSS/issues/7887 We have two concepts: how much a feed is shown or not (controlled by priority), and how often a feed is refreshed (or not, in which case it is archived). This PR removes the wording *Archived* from the *visibility* parameter, since this is not what it does. --- app/Models/EntryDAO.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/Models/EntryDAO.php') diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index cd7bcd2ff..ec3bde412 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -1339,17 +1339,17 @@ SQL; case 'a': // All PRIORITY_MAIN_STREAM $where .= 'f.priority >= ' . FreshRSS_Feed::PRIORITY_MAIN_STREAM . ' '; break; - case 'A': // All except PRIORITY_ARCHIVED + case 'A': // All except PRIORITY_HIDDEN $where .= 'f.priority >= ' . FreshRSS_Feed::PRIORITY_CATEGORY . ' '; break; - case 'Z': // All including PRIORITY_ARCHIVED - $where .= 'f.priority >= ' . FreshRSS_Feed::PRIORITY_ARCHIVED . ' '; + case 'Z': // All including PRIORITY_HIDDEN + $where .= 'f.priority >= ' . FreshRSS_Feed::PRIORITY_HIDDEN . ' '; break; case 'i': // Priority important feeds $where .= 'f.priority >= ' . FreshRSS_Feed::PRIORITY_IMPORTANT . ' '; break; case 's': //Starred. Deprecated: use $state instead - $where .= 'f.priority > ' . FreshRSS_Feed::PRIORITY_ARCHIVED . ' '; + $where .= 'f.priority > ' . FreshRSS_Feed::PRIORITY_HIDDEN . ' '; $where .= 'AND e.is_favorite=1 '; break; case 'S': //Starred -- cgit v1.2.3