aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-03-03 15:52:57 -0800
committerzotlabs <mike@macgirvin.com>2018-03-03 15:54:13 -0800
commit471c3c4d068d1c6d4e149098d400d792fb3550a6 (patch)
treeef3b02f4527d50f65e407ac81cfd75aed728e2ea /Zotlabs
parentca1022675c84c862e9ae3180a47360040b24e9e2 (diff)
downloadvolse-hubzilla-471c3c4d068d1c6d4e149098d400d792fb3550a6.tar.gz
volse-hubzilla-471c3c4d068d1c6d4e149098d400d792fb3550a6.tar.bz2
volse-hubzilla-471c3c4d068d1c6d4e149098d400d792fb3550a6.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'),