aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Activity_order.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-09 10:58:01 +0200
committerMario Vavti <mario@mariovavti.com>2018-06-09 10:58:01 +0200
commitc4778e5e2494d262c18dd73815fb495964355fce (patch)
tree6960a7336c13e3aa6e0bd9b6a1cedf1d9595f95f /Zotlabs/Widget/Activity_order.php
parentd5ee8d80ab2db542fb14bbeaab5707665b9e3590 (diff)
downloadvolse-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.php4
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';
}