From f3d4bae32eae802c717ff36fcaad1f7ee56d2a39 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Feb 2021 09:57:34 +0300 Subject: add an option to disable DISTINCT on headlines query (unless it's Labels category) --- classes/pref/prefs.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'classes/pref') diff --git a/classes/pref/prefs.php b/classes/pref/prefs.php index f24847c61..45926981f 100644 --- a/classes/pref/prefs.php +++ b/classes/pref/prefs.php @@ -63,6 +63,7 @@ class Pref_Prefs extends Handler_Protected { Prefs::SHORT_DATE_FORMAT, 'BLOCK_SEPARATOR', Prefs::SSL_CERT_SERIAL, + Prefs::HEADLINES_NO_DISTINCT, ] ]; @@ -97,7 +98,8 @@ class Pref_Prefs extends Handler_Protected { Prefs::USER_TIMEZONE => array(__("Time zone")), Prefs::VFEED_GROUP_BY_FEED => array(__("Group by feed"), __("Group multiple-feed output by originating feed")), Prefs::USER_LANGUAGE => array(__("Language")), - Prefs::USER_CSS_THEME => array(__("Theme")) + Prefs::USER_CSS_THEME => array(__("Theme")), + Prefs::HEADLINES_NO_DISTINCT => array(__("Don't enforce DISTINCT headlines"), __("May produce duplicate entries")), ]; // hidden in the main prefs UI (use to hide things that have description set above) -- cgit v1.2.3-54-g00ecf