summaryrefslogtreecommitdiff
path: root/classes/pref
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-26 09:57:34 +0300
committerAndrew Dolgov <[email protected]>2021-02-26 09:57:34 +0300
commitf3d4bae32eae802c717ff36fcaad1f7ee56d2a39 (patch)
tree0cfb57ef192b409e2b6bde4ce59b8faceeca7d02 /classes/pref
parent51142e1bf834432231c8790d1132440600308d24 (diff)
add an option to disable DISTINCT on headlines query (unless it's Labels category)
Diffstat (limited to 'classes/pref')
-rw-r--r--classes/pref/prefs.php4
1 files changed, 3 insertions, 1 deletions
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)