diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-06-09 10:58:01 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-06-09 10:58:01 +0200 |
commit | c4778e5e2494d262c18dd73815fb495964355fce (patch) | |
tree | 6960a7336c13e3aa6e0bd9b6a1cedf1d9595f95f /Zotlabs/Widget/Activity_order.php | |
parent | d5ee8d80ab2db542fb14bbeaab5707665b9e3590 (diff) | |
download | volse-hubzilla-c4778e5e2494d262c18dd73815fb495964355fce.tar.gz volse-hubzilla-c4778e5e2494d262c18dd73815fb495964355fce.tar.bz2 volse-hubzilla-c4778e5e2494d262c18dd73815fb495964355fce.zip |
restrict cid filter to unthreaded order (makes much more sense that way imho and the query is a lot faster) and slighty change order of the filters
Diffstat (limited to 'Zotlabs/Widget/Activity_order.php')
-rw-r--r-- | Zotlabs/Widget/Activity_order.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Widget/Activity_order.php b/Zotlabs/Widget/Activity_order.php index 534d6caee..0e660afc3 100644 --- a/Zotlabs/Widget/Activity_order.php +++ b/Zotlabs/Widget/Activity_order.php @@ -53,8 +53,8 @@ class Activity_order { } } - // override order for search results and filer results - if(x($_GET,'search') || x($_GET,'file')) { + // override order for search, filer and cid results + if(x($_GET,'search') || x($_GET,'file') || (! x($_GET,'pf') && x($_GET,'cid'))) { $unthreaded_active = 'active'; $commentord_active = $postord_active = 'disabled'; } |