do not unset $_GET[search] and adjust activity_order widget
This commit is contained in:
parent
5906d6cce3
commit
cc9ca8bbff
@ -86,7 +86,7 @@ class Network extends \Zotlabs\Web\Controller {
|
|||||||
if($search) {
|
if($search) {
|
||||||
if(strpos($search,'#') === 0) {
|
if(strpos($search,'#') === 0) {
|
||||||
$hashtags = substr($search,1);
|
$hashtags = substr($search,1);
|
||||||
$search = $_GET['search'] = '';
|
$search = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ class Activity_order {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// override order for search, filer and cid results
|
// override order for search, filer and cid results
|
||||||
if(x($_GET,'search') || x($_GET,'file') || (! x($_GET,'pf') && x($_GET,'cid'))) {
|
if(x($_GET,'search') || x($_GET,'file') || (! x($_GET,'pf') && x($_GET,'cid')) || x($_GET,'verb') || x($_GET,'tag') || x($_GET,'cat')) {
|
||||||
$unthreaded_active = 'active';
|
$unthreaded_active = 'active';
|
||||||
$commentord_active = $postord_active = 'disabled';
|
$commentord_active = $postord_active = 'disabled';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user