Issue 5670: Jump to the unassigned contacts as a starting point for group edit

This commit is contained in:
Michael 2018-08-26 08:24:45 +00:00
parent c1933fcb13
commit 4406677576

View 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);