aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-05-30 22:40:22 +0200
committerMario Vavti <mario@mariovavti.com>2018-05-30 22:40:22 +0200
commit6349a7417f41cd697ba2dea82653911a1abaaf94 (patch)
tree39ae6dd7de859405c6fd6fd88bc42a2fce0f483b /Zotlabs/Widget
parente1a55ba471a2de5dd31e51c2471f8c3122ad2919 (diff)
downloadvolse-hubzilla-6349a7417f41cd697ba2dea82653911a1abaaf94.tar.gz
volse-hubzilla-6349a7417f41cd697ba2dea82653911a1abaaf94.tar.bz2
volse-hubzilla-6349a7417f41cd697ba2dea82653911a1abaaf94.zip
make navbar search use the module search function in /network and /channel
Diffstat (limited to 'Zotlabs/Widget')
-rw-r--r--Zotlabs/Widget/Activity_order.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/Zotlabs/Widget/Activity_order.php b/Zotlabs/Widget/Activity_order.php
index ba288965f..edeef2c20 100644
--- a/Zotlabs/Widget/Activity_order.php
+++ b/Zotlabs/Widget/Activity_order.php
@@ -53,6 +53,12 @@ class Activity_order {
}
}
+ // override order for search results and filer results
+ if(x($_GET,'search') || x($_GET,'file')) {
+ $unthreaded_active = 'active';
+ $commentord_active = $postord_active = '';
+ }
+
$cmd = \App::$cmd;
$filter = '';
@@ -69,6 +75,7 @@ class Activity_order {
if(x($_GET,'conv'))
$filter .= '&conv=' . $_GET['conv'];
+
// tabs
$tabs = [];