]> git.mxchange.org Git - friendica.git/commitdiff
Issue 5670: Jump to the unassigned contacts as a starting point for group edit
authorMichael <heluecht@pirati.ca>
Sun, 26 Aug 2018 08:24:45 +0000 (08:24 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 26 Aug 2018 08:24:45 +0000 (08:24 +0000)
mod/group.php

index 88b9830626de2ab79e7006b8affc58017b88b7b0..8f65eb643dbfd4bf951b803ffeeb269b3e5584d7 100644 (file)
@@ -84,12 +84,12 @@ function group_content(App $a) {
                return;
        }
 
-       // Switch to text mode interface if we have more than 'n' contacts or group members
-
+       // With no group number provided we jump to the unassigned contacts as a starting point
        if ($a->argc == 1) {
-               goaway(System::baseUrl() . '/contacts');
+               goaway('group/none');
        }
 
+       // Switch to text mode interface if we have more than 'n' contacts or group members
        $switchtotext = PConfig::get(local_user(), 'system', 'groupedit_image_limit');
        if (is_null($switchtotext)) {
                $switchtotext = Config::get('system', 'groupedit_image_limit', 400);