aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-03 15:52:57 -0800
committerMario Vavti <mario@mariovavti.com>2018-03-04 09:49:13 +0100
commit5d18996362bf51d38cea6d14f348064333153b27 (patch)
tree0fb764e5257871269ddc1b31c394d51331aa068c /Zotlabs
parentad3f61a215dcf544557af5a02e2148f4f37ae444 (diff)
downloadvolse-hubzilla-5d18996362bf51d38cea6d14f348064333153b27.tar.gz
volse-hubzilla-5d18996362bf51d38cea6d14f348064333153b27.tar.bz2
volse-hubzilla-5d18996362bf51d38cea6d14f348064333153b27.zip
add dummy f= arg to suggestion urls, use directory version of suggest for newmember link instead of the suggest module as the UI is prettier.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Directory.php2
-rw-r--r--Zotlabs/Widget/Newmember.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php
index b1552a694..85c0be6b6 100644
--- a/Zotlabs/Module/Directory.php
+++ b/Zotlabs/Module/Directory.php
@@ -17,7 +17,7 @@ class Directory extends \Zotlabs\Web\Controller {
intval(local_channel()),
dbesc($_GET['ignore'])
);
- goaway(z_root() . '/directory?suggest=1');
+ goaway(z_root() . '/directory?f=&suggest=1');
}
$observer = get_observer_hash();
diff --git a/Zotlabs/Widget/Newmember.php b/Zotlabs/Widget/Newmember.php
index 0279f339f..cdb70e23d 100644
--- a/Zotlabs/Widget/Newmember.php
+++ b/Zotlabs/Widget/Newmember.php
@@ -39,9 +39,9 @@ class Newmember {
t('Find and Connect with others'),
[
- 'directory' => t('View the directory'),
- 'suggest' => t('View friend suggestions'),
- 'connections' => t('Manage your connections'),
+ 'directory' => t('View the directory'),
+ 'directory?f=&suggest=1' => t('View friend suggestions'),
+ 'connections' => t('Manage your connections'),
],
t('Communicate'),