make navbar search use the module search function in /network and /channel

This commit is contained in:
Mario Vavti
2018-05-30 22:40:22 +02:00
parent e1a55ba471
commit 6349a7417f
5 changed files with 41 additions and 15 deletions

View File

@@ -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 = [];