mirror of
https://github.com/friendica/friendica
synced 2025-05-18 01:04:16 +02:00
Remove "f=&" nonsense from network module
- Fixes wrong redirect when using the sidebar filters
This commit is contained in:
parent
cd05d15b04
commit
ed768c71ee
8 changed files with 28 additions and 30 deletions
|
@ -1104,7 +1104,7 @@ class App
|
|||
|
||||
// Compatibility with the Android Diaspora client
|
||||
if ($this->module == 'stream') {
|
||||
$this->internalRedirect('network?f=&order=post');
|
||||
$this->internalRedirect('network?order=post');
|
||||
}
|
||||
|
||||
if ($this->module == 'conversations') {
|
||||
|
@ -1112,15 +1112,15 @@ class App
|
|||
}
|
||||
|
||||
if ($this->module == 'commented') {
|
||||
$this->internalRedirect('network?f=&order=comment');
|
||||
$this->internalRedirect('network?order=comment');
|
||||
}
|
||||
|
||||
if ($this->module == 'liked') {
|
||||
$this->internalRedirect('network?f=&order=comment');
|
||||
$this->internalRedirect('network?order=comment');
|
||||
}
|
||||
|
||||
if ($this->module == 'activity') {
|
||||
$this->internalRedirect('network/?f=&conv=1');
|
||||
$this->internalRedirect('network?conv=1');
|
||||
}
|
||||
|
||||
if (($this->module == 'status_messages') && ($this->cmd == 'status_messages/new')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue